added selectionfunction for db in router
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel