Updated beautifulsoup to v4 (fixes #29)