Added two functions for turning "Parser a b"  into "Pipe a b m r"

For my own work I found myself wanting a way to turn attoparsec parsers into a Pipe, which was missing from this library. I implemented both a stateless and stateful version, both take an error handling function which allows the user to supply abort, discard or use custom resume logic to deal with parse failures inside the pipe.