changed data model, implemeneted cache key generation

updated cache models to have a different primary key than the cache_id
Updated the make_apikey to support the write field, just defaults to off
updated migrations to match the new models
updated the cacheops and gets with new cache key generation