Fix button widths on formula editor keyboard and add regression test

add regression test for button widths on formula editor keyboard

fix button widths in formula editor keyboard

Add assertion error message for FormulaEditorKeyboardTest/testLayout

Change FormulaEditorKeyboardTest/testLayout: all weights in a row have to add up to 1

fix number type in assertEquals

get views dynamically

remove comments
Merge pull request #904 from StefanTischler/master

#668 fix formula editor button widths and add regression test
improve SourceTest
use StringBuilder where possible
made RegEx faster
Merge pull request #935 from Catrobat/improvedSourceTests

improve SourceTests
Migrating to new gradle folder structure

Dependencies now loaded from maven central except libgdx and polidea instrument runner for now
fix tests for new gradle folder structure

emulatorWarnings fixed. - solo.searchText replaced to solo.waitForText
broadcastBricksTest
MainMenuActivityTest fixed
fix lint
resolve merge conflicts and fix all tests
quickfix for uitests

- no context available; currently hardcoded program names
  needed for cleaning up pocket code directory
- BroadcastBricksTest caused IndexOutOfBoundsExceptions -
  starting from MainMenuActivity should work
- adapted gradle file - path to checkstyle.xml was wrong
- modified SettingsActivityTest; testOrientation tested
  MainMenuActivty instead of SettingsActivity
- WebView methods have to be run on the UI Thread -
  at least our new emulator (api18) complained
- move randomly failing testcases to Devicetest
create a screenshot when test fails
refactor Ui-Tests
prevent possible nullpointer