add collect to RichPipe

Add collect and collectTo to RichPipe, allowing you to filter and map in a single operation.