Implemented views, cache handling etc

It's a huge commit. Caches are changed to be more efficient
with Memcache. View pattern changed.
1. User visits site.
2. Cached page is returned to user.
3. If not cached, show data from NDB.
4. Background page caching done every second.