fix ScriptActivityTest

* refactor variable naming
* fix test to work on Android 2.3 and Android 4.x; helper methods are
needed because on pre honeycomb devices the actionbar spinner with
ActionBarSherlock is not a normal spinner, but an IcsSpinner
Merge branch 'issue#98_testRefactoring' into issue#98