setState: using empty object when user it comes undefined/false/null
Merge pull request #27 from eliseumds/master

Avoiding setting an empty state (fallback to {})