Programmatically add items to the cache

Fixes #19 by adding two methods:

CachedResourceClass.$addToCache({ /* instance data */ });
cachedResourceInstance.$$addToCache();
Merge pull request #21 from goodeggs/add-to-cache

Programmatically add items to the cache
WIP test for #5.