Automatically test examples and distribution

Added two shellscripts that automatically install and test example and distribution projects by using the Android monkey tool. Any failure will result in the scripts to exit with an error code.
I didn't know about subshell. Nice feature. Although I don't think it is needed in this case. If Gradle stops, the monkey will throw an error also as there isn't any apk to run tests on. Instead, to prevent the monkey running on an old APK, I now make sure to uninstall the APK on the device before building a new test version.