Migration testting

This add some bash based migration testing.  Which does as follows:

1. Loads a dump of an old Pootle version for the database under test.  e.g. dump-mysql-2.5.1.sql
2. Does the needed migration

And hopefully catches any errors that occur when a migration fails.

The commit includes: docs, the migrate script and dumps for 2.5.1 sqlite and mysql