InstallDirectoryDialog.java: Test installation dir

 * Show error if installing into directory which is write-protected
 * Deny installing into write-protected directory

Signed-off-by: Janne Kujanpää <jikuja@iki.fi>
Merge pull request #699 from jikuja/do_accept_nonwritable_installation_dir

InstallDirectoryDialog.java: Test installation dir
data/UserManager.java: hide unneeded stack trace

  * hide unneeded stacktrace from old logindata parser
ADDED: Java version detection for OSX
Merge pull request #700 from Viper-7/master

ADDED: Java version detection for OSX
FIXED: Permission error from OSX Java version detection
Merge pull request #701 from jikuja/fix_numberformatexception

data/UserManager.java: hide unneeded stack trace
Merge pull request #702 from Viper-7/master

FIXED: Permission error from OSX Java version detection
FIXED: Java binary permissions issue on OSX
FIXED: Unsupported version message
Merge pull request #703 from Viper-7/master

FIXED: Java binary permissions issue on OSX
Fixed new java path code

 * When opening advanced option, show error screen only once
 * Empty path is not error. Launcher will use default JVM
 * Set initial color to red if file not found
FIXED: Derp
Merge pull request #704 from jikuja/fix_advanced_options

Fixed new java path code
Merge pull request #705 from Viper-7/master

FIXED: Derp
Fixed concurrency bugs and cleaned LaunchFrame.java

  * Moved code from EDT into main() Tread
  * Reordered code in  LaunchFrame.java to fix concurrenry and
    blocking bugs
  * Reworked I18N:
     Added function to setup I18N without downloading
     Added function to only download new locales
     Added wait and sleep lock to ensure DL servers are found
  * Added names to threads
Reordered LaunchFrame.java
 *  DownloadUtils.java: Added timing log
utils/AppUtils.java: Added waitForLock()

 * Added two static waitForLock functions which
   implements basic sleep and check locking.
 * Converted old code to use new functions
 * locale/I18N.java: fixed NPE
Add logging around waitForLock()s
log to stdout

 * Testing code. Do NOT MERGE to upstream
Try more EDT to fix splash screen

 * probably useless. Reordered download/I18N/EDT
 jumps directly to 120 progress. No progress bu DownloadUtils shown at
 all