Bug fixes

The database plugin is now ready for prototypal use.

Any file matching "res/*-dev.bin" will be ignored by Git for future
commits, allowing you to create a few test databases.