Fixed indentation
Added a bunch of features, mostly related to Couch views. Yet to properly implement permissions for custom user model.