Added unique array property. Added toArray() method to SchemaArray. Added tests.