Implement async methods for AppEngineAPI...

... and the cache class.