Remove Ref typeclass

Mvar and IORef have different semantics (MVar can be empty, IORef can't), so this typeclass isn't all that useful. In addition, it's only used twice, and only to simplify using Reader MVar!