ContentInstance fixed

- setDefinition made public
- ContentInstance.TYPE_DEBUG_MODE added for testing without validating
mocked definitions