Refactor directory settings
The directory settings (baseDirectory, ….) are currently misleading, as they depend on the installation mode, and the given paths are not necessarily correct
(from redmine: issue id 980, created on 2012-05-09 by Tobias.Winchen)