Worked around mocha skipping afterEach when a test is skipped
Worked around mocha skipping afterEach when a test is skipped

Moved the teardown into a separate function and call it when skipping a
test to avoid databases being left behind.

cloudant/couchbackup,cloudant/couchbackup