Replaced lxml with html5lib for rich text whitelisting

lxml takes a long time to build whereas html5lib is a pure python library. html5lib will also make sure that the rich text is valid HTML5.