fixed replace
Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2
Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2
added optimization rule for constant filters (not yet working)