Code cleanup

* Handling SQLTemplates.Builder instantiation using an abstract enum instead of redundant if-elseif clauses. 
* Upgrading to Java7 and QueryDSL 3.4.1
* Cleaning up SQLTemplates instance configuration
* Minor code cleanup in the activate() methods of components
* Adding some javadoc