Merge in IMOS hierarchical facets changes and update to use spring dependency injection

This pull request includes hierarchical facets merge and update to use spring dependency injection as previous pull request for hierarchical facets merge has not been merged.
Will be addressed in a later pull request. I've switched to using format strings as a basic templating mechanism which actually make it more readable I think.