Android: Slightly reworked PreferencesActivity. It now retrieves the game path from the supplied filename instead of the base path + game name.
Android: Prevent activity restart on configuration change for GamesList and Preferences.
Android: Allow starting of PreferencesActivity from outside the app.
Linux: Add options to set rpath to makefile and debian/rules.
Merge branch 'develop'
Windows and Linux: Use StdScale filters per default, depending on the screen resolution. Can be disabled with the option gfxfilter=None.
Enable StdScaleX filters up to X=8.
Autoscaling: Leave at least 100 pixels of height free in windowed mode.
Use the right game height for auto scaling in letterbox mode.
Editor: Fixed building error due to change of the quit() function in the engine.
iOS: Updated xcode project.
Common: added explicit type-cast for pointers
Engine: an option to print BUILD_STR on along with version info
Engine: fixed permission flag for savegame directory
Common, Engine: cleaning output system a bit
Engine: replaced write_log_debug() calls with Out::FPrint()

Also print version info with Out::FPrint(), which will write it to the log file.
Engine: replaced direct calls to WriteDebugString() with Out::FPrint()
Engine: explicit type-cast for function pointers
Engine: Only register plugin function stubs for plugins that are used by the game to load.
Cleanup: wgt2allg unit

Removing obsolete variables and functions, moving some to other code units.