moves addMetric to global instead of passing in for every function
adds basic first-pass unit tests to couchdb service
errr... your stamp was showing...
fixes couch test
adds crumb for CSRF protection
adds CSRF to company facet
adds CSRF to user facet