New Documents Pagination

New pagination design for the database page. Screenshot:
![](https://www.dropbox.com/s/bdhd2c0pru0delo/Screenshot%202014-09-02%2017.19.45.png?dl=1)

This patch also includes a fix for the all database page where the last item in the list is covered by the pagination.

Initial work by
deathbearbrown@gmail.com and Jenn Schiffer jenn@pancaketheorem.com.
friendly xss reminder (please use `<-`)