Added support for seed databases using WAL

Databases created in iOS7 have WAL enabled by default, when creating the seed database an extra two files are created:

`database.sqlite-shm`
`database.sqlite-wal`

These need to be copied if they exist from the seed too. I'm happy for this to be replaced with a better implementation but worked fine for me as a fix.