Fixed module registrations being ignored when that module type is resolved

Whenever Nancy would resolve module types it wouldn't check if the type was already registered or not and would just re-register it. This caused any module type registrations done by the user to be ignored.