Get basic CRUD set up for systems.

Also starts adding support for sheets and switching to RethinkDB.
Update to the latest version of rethinkdb.

The API changed, requiring corresponding changes in the consuming code.
On the upside, it looks like the updated version of rethinkdb actually
works, which is a step forward.