slightly improved access to dynamic bounds
Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2
fixed test
fixed ranges