Changes the way we "uglify" html code, fixes <code><pre> blocks.

Previously we were using a very aggressive way of removing new lines. This completely messed up with code blocks, using BeautifulSoup we can do it in a intelligent way.
Merge pull request #170 from MarioRicalde/smarter-uglify

Changes the way we "uglify" html code, fixes <code><pre> blocks.