implement toLazy and toLazyM

These were strongly inspired by pipe-bytestring's toLazy and toLazyM.
remove replicate, etc. to simplify api
explicitly import Pipes.*
simplify fromLazy

Gabriel Gonzales proposed that implementation.