Add test for type; remove legacy object sanitizing code
remove errant log
Make sure you can't save arbitrary fields
Merge pull request #29 from LocalData/typefix

Add test for type; remove legacy object sanitizing code