cache.put add promise support

Then i can use angular-cache with $http.