Added a bunch of handy attributes.

This includes all the attributes currently requested in #275.
Merge pull request #547 from johnhaddon/moreOptionsAndAttributes

Added a bunch of handy attributes.