Add test for adding references into arrays.
Fix memleak: TRI_Insert2ArrayJson doesn't use the pointer; need to use TRI_Insert3ArrayJson here.
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel