[broken state] Committing progress as a back-up before switching to Windsor for debugging
Refactored out ITemplateAggreagor from IDefinitionManager to simplify dependencies in several scenarios
Whitespace
Code cleanup/resharper
n2cms/n2cms#162 fix up Xml database flavour