Changing resolution from commandline

Conflicts:
	src/app/app.cpp
Added -headless

For automated stuff on devices without GPU
Fixed #335 and #348
Fixed m_exitAfterMission
Tools for measuring mission time without opening game window