Fix bugs in set_setting related to unsetting values
Fix bugs in set_setting related to unsetting values

The `set_setting` function wasn't properly handling the case of
removing a setting's value. Now it is.

quantopian/PenguinDome,quantopian/PenguinDome