Added a function that recursivly allocates and fills index_elements if one or more paths have to be expanded.
Added a function that recursivly allocates and fills index_elements if one or more paths have to be expanded.

nekulin/arangodb,nekulin/arangodb,nekulin/arangodb,nvoron23/arangodb,nvoron23/arangodb,nekulin/arangodb,nvoron23/arangodb,nekulin/arangodb,nekulin/arangodb,nekulin/arangodb,nekulin/arangodb,nvoron23/arangodb,nvoron23/arangodb,nekulin/arangodb,nvoron23/arangodb,nvoron23/arangodb,nvoron23/arangodb,nvoron23/arangodb,nvoron23/arangodb,nekulin/arangodb