Add a few automatic tests using _scalatest_.
Add generalized `mapF` function.
Measure time of the long running computation in TestUtil.
Include finalizer to `idP`.

Useful for adding exception handling/logging to existing pipes.
Add `foreach` method.

It runs a given action on each input and passes the input unmodified to
output.
Move example code from _IO_ to _examples_ under tests.