Implemented a proper loadModule method

loading europa extension (such as Neptus) has to be done through
PSEngine.loadModule and not by simply load the library as it needs also
to call a set of functions/methods within the library.
This patch does implement this properly
Corrected potential access to null in europa utils

Some getenv calls were not protected