DataDumpPetra2 produces a test SQLfile to check for errors in db before loading db.
Row count test (run with Nant).
Data migration tidy.
Uncrustify
references fixed
merged from trunk
merge from ~peter-simpson/openpetraorg/dev_20130523_db_migration
merge from lp:openpetraorg