Make cucumber runnable in master-clone

And add feature for WhenScriptRestarting which succeeds
https://github.com/Catrobat/Catroid/issues/875