Changed the update functionality to so that it now returns an entity that reflects the values in the database for the whole record even with selective updates
merged up some changes
minor update to remove some debug code
Merge pull request #14 from haddow777/master

Just took out a minor debug statement that made debugging in node-inspector frustrating.