Make import_object also support modules

Reason: "import_object" is mainly used to resolve lookup information from some 
sort of configuration file. In this case it should be possible to specify a 
module as well as the target.