Using the logging module in order to make switching to python3 easier.
Fixed character encoding problem for non ASCII chars for bs4. Closes #17.

Problem does only effect BeautifulSoup4. Patch only tested with version 4.
BeautifulSoup.renderContents() returns UTF-8 encoded string. Decoding it
into Unicode object.
Merge pull request #18 from 4Christopher/improvements-and-fixes

Fixed #17 and using logging module.