Created a helper library to convert all of our CouchDB views into a form which can be used by PouchDB (which doesn't support using "require").  https://github.com/pouchdb/pouchdb/issues/973