Extract `ModuleDelegator` from `FakeReadline`

Although this was extracted from a class in `spec/support`, I've placed it in the production code in order to reuse it in #77.