Rename the attachment store folder before delete (#308)

When deleting a database, renaming the attachment store folder if it exists and delete it in a dispatch queue. #308.
This needs to be moved out of the database directory entirely, otherwise the main-thread call to delete the database directory will still end up deleting the attachments folder.
Probably the best place to move it is to the NSTemporaryDirectory.