cleaning up and readded toJsonHelper method for IndexRangeNode.
Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2