fixed cloning of plans
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
fixed more queries
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
fixed optimizer rule remove-unnecessary-remote-scatter