Fix bugs when .initialize is called multiple times.
Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2