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.
From what my Google Foo tells me $() is not supported in sh for external commands?
http://www.c3.hu/docs/oreilly/unix/upt/ch45_31.html

But it brings up an interesting question. Should our shell scripts use bash or sh?
I have no preference either way, but sh is more cross-platform compatible right?