fixed getResult
Merge branch 'pregel' of https://github.com/triAGENS/ArangoDB into pregel