fixed CAT-531

added try/catch to location of possible exceptions

added default case to switch statement
Merge pull request #1066 from Catrobat/refactorBricksFixes

[GSOCTC-1.1] Refactor Bricks Fixes
Merge pull request #1083 from Catrobat/CAT-531

[CAT-531] NullPointerException: LookFragment.onActivityCreated
cat-531 #fixed
fixes double entries in MainMenuActivity's setting menu, caused by merge of CAT-1055
Merge pull request #1087 from Catrobat/fixCorruptMerge

fixes double entries in MainMenuActivity's setting menu
Disable animations for testing on jenkins
Merge pull request #1093 from Catrobat/disable-animations-for-testing

Disable animations for testing on jenkins
change to robotium 5 and download via gradle
change imports in test package

update to robotium 5.1.2 and add unlockScreen to BaseActivityInstrumentationTestCase

added sleep for race conditions

initialize location before loop

optimize for pull request

added unlockScreen

rearrange code

cleanup imports
Merge pull request #1072 from Catrobat/robotium_5_update

[CAT-861] Update to Robotium 5
implemented by @X4mp
CAT-861 #fixed
merged userbricks with current master
fixed GSOCSF-6 Variabletext doesn't get deleted
fixed GSOCSF-7 (NullPointer Exception in AddBrickFragment - OnDestroy()
fixed GSOCSF-8 Backstack of Script does not get updated correctly after deleting a userbrick
fixed GSOCSF-9 Define brick should not be deletable/copyable
added "testDeleteUserBrickAndCheckIfScriptActivityUpdates"
fixed GSOCSF-10 1 Userbrick variable is accessible in Script when using more than 1 Userbrick
fixed GSOCSF-12 Dropdown menu of change variable and set variable have partly UserBricks scope
added "testMoveUserBrickUpAndDown"
added "testCopyAndDeleteUserBrickFromScriptWithBothVariants"
fixed GSOCSF-13 Define brick can still be selected in copy/delete ActionMode
fixed GSOCSF-14 When copying any brick in UserScript via ActionMode it gets copied to Script
added "testEditFormulaWithUserBrickDataAndChangeValuesViaFormulaEditor"
added "testChangeDeleteUserBrickData"
added "testUseUserBrickVariableInFormulaAndDeleteVariableInFormulaEditor"
added "testCopyAndDeleteBricksInUserScriptInclDefineBrick"
fixed GSOCSF-2 Don't allow recursive UserBricks
fixed jenkins errors:
 - added assertions to all tests
 - added german translations (dummy) for missing strings
 - replaced the license from master to two files where jenkins said it was missing/not correct
 - a few spaces where not copied correctly
fixed jenkins lint&checkstyle errors
fixed jenkins lint&PMD errors
fixed LAST jenkins lint&PMD errors
alertDialog was not closed properly
in testCreateNewBrickButton one click was wrong
changed 2 tests of mine to work properly on jenkins
changed onDestroy() of ScriptActivity
changed dragFloatBrick parameter to -1
added scrollUp(), test still fails on jenkins for no reason
removed test, because redundant
adding userbrick to userbricks is now disabled!
changed german string value of Toast when adding userbrick to userbrick
don't show toast now, add a Userbrick to an existing Userbrick is just not possible anymore for now
When deleting Userbricks in "AddBrickFragment" the Actionmode Title is updated correctly
fixed GSOCSF-19 Using parameters in a userbrick doesn't work in some cases
fixed GSOCSF-17 Forever loop gets inserted in wrong way
changed SpriteTest and removed unused imports
don't show toast now, add a Userbrick to an existing Userbrick is just not possible anymore for now
When deleting Userbricks in "AddBrickFragment" the Actionmode Title is updated correctly
GSOCSF-20 deleted testNullSprite and tried changes in PreStageActivity, problem didn't return.
rebase to refactored bricks
rebase to strings
GSOCSF-23 deleted MultiFormulaBrick, GSOCSF-24 deleted UserScript, changed
StartScript
Remove unnecessary xml entries, refactoring
GSOCSF-23 deleted MultiFormulaBrick, GSOCSF-24 deleted UserScript, changed
StartScript
Merge pull request #1055 from Catrobat/userbricks-gsoc2014-rebased

GSoC 2014 Make Pocket Code Bricks Feature-Complete - Userbricks
added a ConfigManager Class to create and set different drone configs

added probability to change drone configs