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
update of licensetexts

2010-2012 -> 2010-2013
added missing xml-version
new assert when bt-connection failed
Merge pull request #128 from Catrobat/LicenseUpdate2013

Update of Licensetexts
updated bluecove-libs to 2.1.1 nightly builds
Merge branch 'master' of ssh://git@github.com/Catrobat/Catroid.git
Merge branch 'master' into issue#54
Slightly adapted testBuildProjectPath:
External storage directory doesn't necessarily have to be "/mnt/sdcard/"
UtilFileTest.testFileSize: Fixed false failure with German locale
UtilFile.getSizeAsString returns a locale-aware String (as it should),
but the test compared it to a hardcoded dot, which can fail (for
instance when testing with a German locale which uses a comma).
Also made assert messages slightly more descriptive.
testBuildProjectPath: Use Constants.DEFAULT_ROOT instead of hardcoded
path.
Began Refactoring of Motion brick XMLs

* Added and applied Styles where possible
* Changed strings where necessary
* Did not make them 'beautiful' because they'll be redesigned soon
* Very few changes in .java files, mostly coding style
removed unused statement
Merge pull request #124 from Catrobat/CatroidTestFixes

catroidTest fixes
accepted by aried3r
Edited more Motionbricks, separated styles
Removed obsolte tests