Extract `base_module` from `load_type`

Makes it easier to monkeypatch TypeResolver to start from your application's namespace.

Not part of the public API, but will suffice until a more general solution is implemented.

Closes #5