added support for extracting text for html documents using beautifulsoup4. fixes #7