* Add efficient pagination support
    http://www.depesz.com/2011/05/20/pagination-with-fixed-order/
    http://stackoverflow.com/questions/6618366/improving-offset-performance-in-postgresql
* Generic file model
    https://github.com/jpvanhal/silo
* Query to Postgres JSON converter
    http://hashrocket.com/blog/posts/faster-json-generation-with-postgresql
* Postgres Cube datatype:
    http://www.postgresql.org/docs/9.4/static/cube.html
