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 should report errors, by returning `BOOL` and having an `NSError**` parameter.