Refactor DatabaseData into its own module.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Compute the version automatically from git.

Also included are unit tests to verify the behavior of the new version
computation functions.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Move DatabaseVersion to newfol.database.

Also add unit tests for it.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Add basic Database and Schema objects.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Move database functionality into new objects.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Add upgrade functions to Schema.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>