moved isCoordinator to function of its own
fixed some issues with remote queries
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel