New document sidebar

This is the new redesigned sidebar UI for documents. The idea is that design doc functions will be first class citizens.

Screenshot:
![newsidebar](https://cloud.githubusercontent.com/assets/179458/3300201/37ceaa96-f61e-11e3-8375-276b17237660.png)

i would use `<-` to avoid XSS issues, e.g. `<%- designDoc%>`