Swap pre and table tags in tableized output - fixes #104

Previously the HTML Formatter output invalid HTML, as `table` elements are
not allowed inside `pre` elements. This commit reverses the order of the
markup for tableized output such that the `pre` elements sit inside the `table`.

Non-tableized output is unchanged.