fixes #697 passing arrays as properties to unique node creation

by making sure all the collections in the supplied properties are converted into arrays like in other places
in the REST API

make sure to forward merge into 1.9 and 2.x
Merge pull request #700 from jexp/697-array-properties-in-unique-indexes

fixes #697 passing arrays as properties to unique node creation