fix (test-lib): make HTTP backened mock better infused with AngularJS awesomeness

The HTTP backend is now fully compatible with AngularJS and can be plugged into any test module via dependency injection
feat (test-lib): rely on $q instead of jQuery

HTTP backend now uses $q and $rootScope instead of $.Deferred()
fix (templateCache): rewrite template cache and its tests

The template cache and all its tests are now rewritten so that everything is nicely testable.