MonadBase and MonadBaseIO instances for WebStateM

For catching errors using lifted-base.

based on https://github.com/lfairy/haskol/blob/master/Web/KoL/Core.hs#L58