Added some method comments
Improved comments, fixed bug on assets in getTemplateDefinition()
Imporved log and comments
Removed setContent() method, which is ununsed (an unusable)
Merge pull request #653 from roadster31/assets-fix

Fixes side effect on assets search system