- clean up logic around test for array type

- short term fix until #460 is implemented
Fixes #458 #459
Merge pull request #461 from strongloop/fix/459-issues-with-array-model-properties

- clean up logic around test for array type