Migrated document manager to Backbone

* implemented backbone and underscore
* updated content
* added functionality to add documents