Add unit test for simple equality, using or, on id field
fixed wrong serialization of objects with default toString()

Objects that use the default toString() method will not create usefull serialized output so we make JSON out of them.
Also we now allow Arrays to be serialized to JSON this way too as the array datatype will not cover Arrays of objects with a default toString() method.
made serializing of arrays for 'object' datatype work
fields for object and array datatypes are now created
Merge remote-tracking branch 'mde/master'

Conflicts:
	test/adapters/shared.js
Fixing present validation
Fixing present validation with empty string checking
Add tests for Issue #42 (PR #43)
Fix test for #42
Merge pull request #45 from ben-ng/master

Add test for required integer value of zero
Merge pull request #43 from lgomezma/master

Fix present validation check
Include null as non-value for validatesPresent
Version 0.0.39
Fixes issue #42: Required integer values of zero not accepted
Merge pull request #46 from ben-ng/master

Fixes the fix from #43 that fixes #42
Add tests for #47
Move tests to validators.js, update fix for #42
Merge pull request #48 from ben-ng/master

Add unit test for #47
Version 0.0.40
Fix other intstances of zero coercion to empty string