moved menu inflating and handling of base menu items into BaseActivity

fixes CAT-1055
Merge pull request #1076 from Catrobat/CAT-1055

[CAT-1055] Complete [overflow] menu entries on all screens
cat-1055 #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