refactor portable mode & config file detection (WIP)

see #127
include--
Merge branch 'master' of github.com:springlobby/springlobby