Rename 'getRequest' to 'request'.

Also add 'MonadTrans' and 'MonadIO' instances for 'ResultT'.