Fixed MonadWriter instance, added MonadError instance.

Fixed the implementation of the MonadWriter instance and moved liftCatchError
from Pipes.Lift to Pipes.Internal (reexported from Pipes.Lift) to implement the
MonadError instance.