Fixed ds.get and ds.getAll examples.

key and keys were missing in the callbacks.
Type checking hackery for Boolean and Number primitive types.
Test valueToProperty with primitive boolean and number.
Merge pull request #21 from silvolu/master

Fixed type checks for Boolean and Number primitive types in valueToProperty