move the user api to :4985/user/name
now it works with any database name, in the future we can use this to manage channels for more than one db
move authrest to mux
Updated the README for the changes from the 'access' branch
Cleanup of authrest.go
Store revision JSON inside main document

No more separate "rev:…" docs storing revision data.
This is a stepping-stone toward putting all our special document stuff
into a metadata property and leaving the current doc JSON alone.
Move non-body properties into "_sync" property in Couchbase doc

Couchbase docs now consist only of app data plus a "_sync" property
that contains the revision history/ sequence number.
More schema change stuff

* Updated map functions for new schema.
* Moved auth-related view to separate design doc
* Factored design-doc installation into base package
* Streamlined the code to create/read a document struct
Re-creation of deleted doc should be child of deletion revision

When a PUT without a _rev property is made to a document that exists but
has been deleted, the new revision should become a child of the deletion
revision, not a new root of the rev tree. (This is the same fix I made
to TouchDB a few months ago.)
Added unit tests, fixed regressions

Added tests for _all_docs and _changes to database_test.go.
This uncovered regressions that resulted from problems in the JS map
functions; fixed these.