Adding support for passing JSON blob as capabilities
Refactoring capabilitymanager, adding tests
Merging user defined capabilities with default capabilities
Cleanup