Bugs fixed and debug-option added

1.Fixed a bug where an uncaught exception in IEDProfileController.py wou...ld crash if the server couldn’t be contacted (behind proxy)

2.Fixed uncaught exception in launchScript_() escape function

3. Added a debug-option that will dump all output to console if LogLevel is set to 99 in applications plist.