Use PyQuery instead of BeautifulSoup

PyQuery is simpler and more intuitive than BeautifulSoup. The API has also been simplified a bit.

Issues #3, #2 and #1 also got solved.