check for null (ContentValues.put() doesn't handle null)
Merge pull request #411 from nelenkov/dev

check for null (ContentValues.put() doesn't handle null), see #392