Use beautifulsoup4 for HTML mangling

BeautifulSoup is no longer available on our machines :/