[checkmk-commits] webapi.py: moved some helper functions from plugins to htdocs/webapi.py