CMDB as pluggableapp + API v0.10

Relations can be read with new API
CMDB is setup as a pluggableapp
Flaked
Merge with upstream
Merge pull request #1050 from zefciu/RALPH-1578

CMDB as pluggableapp + API v0.10