Mac Os X

__(Do not merge yet.)__
Several fixes to max unknown horizons ready for Mac Os X. Please review this patches carefully.

Note: The version number in the main menu is not shown (<unknown> instead of a number) in the app container. But this is not a bug! It just happens in the dev version with `_get_git_version()`. See constants.py