Update requirements and add version pins.
Add guard to test whether input 'buffer' is already of strategy type.
Simplify and cleanup 'pisaParser': remove edge-case handling and simplify pipeline and force all unicode input to be passed unchanged to html5lib (it does not support explicitly setting encoding on unicode strings/streams).