Tiny additions to Frank

* Missing templates will result in an error
* The middleware calls next
* All JSLint warnings except one fixed
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel