Moved the output rules from being a configurable option. This is part of a change to commonize how we override classes to be more consistent.
The serializer was a wrapper for serializing the same way html5 at the top level was a wrapper for parsing. Moved the serializing interface to be in the same form as the parser for consistency.