pep8 happy
Merge remote-tracking branch 'kali/bug/pep8_cleanup' into develop
Unlock shared db if bootstrapping fails in any way
Merge remote-tracking branch 'chiiph/bug/unlock_shared_if_failed' into develop
enable gzip compression
get_count_from_index
Merge remote-tracking branch 'refs/remotes/kali/feature/enable-gzip' into develop
Merge remote-tracking branch 'refs/remotes/kali/feature/expand-sqlicipher-capabilities' into develop
patch the _version file so it reports the running version

until now this was only possible when running python setup.py version
from the source tree. now the <module>.__version__ also reports
correctly the runnng version
Merge remote-tracking branch 'refs/remotes/kali/feature/patch-reported-version' into develop
Use git.exe instead of git.cmd in windows since we use GitBash
Merge remote-tracking branch 'chiiph-github/bug/versioneer_windows' into develop
Make couch backend consistent and lightweight.

This commit introduces the use of couch view, list and update functions to put
and get data from the couch database. This avoids loads of metadata
transferring and encapsulates operations in atomic PUTs.
Monkey-patch u1db to use CouchDocument.
Fix couch tests to reflect remodelling.
Remove index tests for couch backend.
Add 'ddocs.py' generation on setup.py.
Add database migration script.
Add changes file.
remove conditional gzip, fix import