Write to memcache in chunks when we have a large object to store
Use memcache initially, but for large objects try to keep them in memory

This avoids constantly marshaling and unmarshaling huge objects like
all submissions or all ontologies.