fixes for new db structure
The new way of doing things.

I dropped the plugin as it is no longer compatible. It is now a two step
process.
1. Make an XML backup.
2. Use the gs.py (Gramps to SQLite) utility to convert to a SQLite database.