Changed BeautifulSoup version from 3 to 4

Changed BeautifulSoup version from 3 to 4 because using version 3 results in an error: http://chat.meta.stackexchange.com/transcript/message/2381831#2381831