Add className attribute

While it was nice to be able to change the `tagName`, it seemed
incomplete without the ability to add a `class` attribute to the tag.

This commit includes the functionality, the test, and the documentation.