Installer keeps a static installerMode variable and getter to check the type of
install (auto, gui, console). Unpacker checks the type of installation when
overwriting files.
Merge pull request #231 from FranciscoCanas/IZPACK-1129

[IZPACK-1129]