SafeGetType extension method

this will prevent types with missing dependencies from causing GetTypesImplementing from throwing