Added constructor analogs of all the `runXXXP` functions

This fixes #72.  I went beyond the original request to include `readerP`,
`writerP`, `stateP`, and `rwsP` "smart constructors".