Make sure document id's and revision id's are created in lowercase to match CouchDB.
Change tabs to spaces to match.
Merge pull request #311 from jonlipsky/couchdb_lowercase_ids

Lowercase document ids and revision ids