Use Beautiful Soup 4

These changes make python-iview work with Beautiful Soup 4 (the default in FreeBSD and probably others).