Added removeAttr

Also updated `attr` to remove properties when `null` is passed as the
value. Closes #11.