fixes #521

* Wrote test for activity started from actionbar
* Fixed issue #521

Jenkins Testruns:
[new test](http://jenkins.catrob.at/job/Catroid-single-UI-test/993/)
[Catroid-custom-branch-no-emma #210](http://jenkins.catrob.at/job/Catroid-custom-branch-no-emma-test/210/)