removed window.* from documentsView and refactored router
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel