Moved attribute rendering

Refactoed the Xml#tag method by moving the attribute rendering into it's
own method.

See #24
Merge pull request #26 from johngeorgewright/24-xml-refactor

Moved attribute rendering. Fixes #24.