optimized sorting for documents - frontend
prep for selecting databases in frontend
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel