Fix creation of new databases.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Add a test to ensure git transactions work.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Update database test for new record version.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Merge branch 'master' into peter