Creates a new #PeasObjectModule.
The module name.
The path.
If the module should be resident.
Return: a new #PeasObjectModule.
ConstructionException GTK+ fails to create the object.
See Implementation
Creates a new #PeasObjectModule.