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
fixed CAT-531

added try/catch to location of possible exceptions

added default case to switch statement