Fix issue#54.

Wrong median position calculation for bricks produces negative list index.
Add robotium test for issue#54.
Fixed failed ui tests caused by fixing issue#54.
Merge branch 'master' into issue#54
Merge branch 'master' into issue#54
Merge branch 'master' into issue#54
Merge branch 'master' into issue#54
Merge branch 'master' into issue#54
set soundrecorderactivity to portrait
refactoring of SoundRecorderTest

added orientation test
standard test does not rotate any more
refactor SoundRecorderActivity

checking in onCreate if the Soundrecorder was recording before
orientationchange is not needed any more - Activity is set to portrait
only
fix SoundRecorderTest

waitForActivity is needed - solo.getCurrentActivity() returned the wrong
Activity
fix for orientation tests

these tests would have failed, if the activity before allowed
orientation landscape, because solo.getCurrentActivity would have
returned the wrong activity without the wait
refactoring of layout xml

tried to remove warnings in activity_soundrecorder.xml
refactored ids
Merge pull request #143 from Catrobat/RefactorSoundRecorder

Refactor SoundRecorder
merged and accepted
Add issue link to testcase.
Refactor variable name.
Merge pull request #142 from Catrobat/issue#54

Issue#54
Merge branch 'master' into PhysicsPainsi