Changed the initialisation of the WebView.

It wasn't good to directly initialise it, it didn't compile.
Now the initialisation is made in the constructor (like it was the
case before).
Refactored HTMLFormatter.

Coding style refactoring. The style for this will be placed
later in a separate stylesheet.