Setting an attribute to null (and only null) removes that attribute

This addresses #68
Merge pull request #73 from bantic/null-value-removes-attribute

Setting an attribute to null (and only null) removes that attribute