Factored out postprocessing by adding a custom serializer

Template
* skipping a lot of optimizers in the Template clean method as these
should be take care of by the serializer
- removed postProcess method
Started work on implementing sane defaults

DOMSerializer
* defaults: format = html5, preserveWhiteSpace = false, preserveComment
= false
* if preserverWhiteSpace is false (default) all multiple whitespace
characters are replaced by a single space
* changed pattern to determine whether or not an attribute value should
be quoted
(http://www.w3.org/TR/html-markup/syntax.html#syntax-attributes)
* quoteAttribute function now returns the quote character to use
Preserve whitespace in text nodes in <pre> and <script> elements

* whitespace is now preserved in <pre> and <script> elements,
disregarding the preserveWhiteSpace setting
whitespace is now preserved when loading the template

* removed the RegExp to unify whitespace from templates
* set preserveWhiteSpace to false for the DOMSerializer