added regEx default for RegExValidator
Merge remote-tracking branch 'origin/dev' into dev
fixed missing import
fixed null pointer in validate
added missing undefined
corrected entity tests to be asynchronous, added optional attribute tests
Merge remote-tracking branch 'origin/dev' into dev

Conflicts:
	test/EntityTest.js