Cmdb customfields api

* CMDB custom fields exposed for read in API
* Some flake8-driven corrections