Programmatically add items to the cache

Fixes #19 by adding two methods:

CachedResourceClass.$addToCache({ /* instance data */ }); 
cachedResourceInstance.$$addToCache();