Fixes #66 and #62

Had to redo some of the logic for creating and setting attributes, but
this is probably for the best.

Also updated to README for setting boolean values.
Merge pull request #88 from LightGuard/boolean_attributes

Fixes #66 and #62