Add couch permission check.
Add pycrypto as test requirement.
Fix couchdb requirement.
 Fix tests that leaked couch instances.