Add handling of default $http cache and $http.defaults.cache, also add some tests