Rename the attachment store folder before delete

When deleting a database, renaming the attachment store folder if it exists and delete it in a dispatch queue. #308.
Merge pull request #555 from couchbase/feature/issue_308

Rename the attachment store folder before delete (fixes #308)