[#54] WIP - Performance improvements on SQLite -> GAE

* Usa a memory cache when building the entities collection (up to
  page-size elements)
* Precompute the data for used for creating nodes, each level has
  a nodes_n table
* Make a bulk insert on mappings, instead of one by one