Bumped gradle version, gradle plugin, robolectric.B

Bumped build script to work with latest version of Android Studio/Gradle/Robolectric. Robolectric currently only works with SDK 18 so all unittests have been marked as such.