Added DB monad.
Added newRec.
Extracted Forkery code.
Added SQLConv.
Added recIsStored and recIsDirty.