Handle case when insight is run as a plug-in.

Conflicts:
	components/insight/SRC/org/openmicroscopy/shoola/env/log/LoggerFactory.java
	components/insight/SRC/org/openmicroscopy/shoola/env/log/LoggerImpl.java
Do not use environment class.

Conflicts:
	components/insight/SRC/org/openmicroscopy/shoola/env/log/LoggerFactory.java