Fix warnings in Pygmalion.Dot
Move tests into separate files where possible
Don't confuse forward declarations with definitions
Experimental implementation of DB staging
Store staged updates in a separate database
Use an in-memory database for staged updates and commit in sorted order
Drop indices while inserting staged updates
Enable in-memory staging database (which turns out to be slower, but the refactorings are still desirable)