Server api

Added a server api node module which proxies web requests through to couchdb, which allows us to perform operations if required.

Initially this will be used for auditing, so any requests which result in changes to the database will be audited before passing through to the proxy. If couchdb is then made inaccessible, all requests will be forced through the proxy, making untracked modifications impossible.