[NEW] First commit - code dump.

Previously, the api/lib/web were all in separate repositories, united
in parent metarepository. This was a pain. Everything will just be kept
in here for now.

lib/ and api/ are in a working state as far as what has been
implemented, and there are decent tests. The DAL/SQL layer in lib
shouldn't need much more work for now - it's really about defining the
relevant API endpoints and designing a simple prototypical web UI that
works across devices. Once there's a working example, it may be possible
to get others on board.