Use echo properly to avoid newlines

@cmelchior @bmunkholm @kneth 
Can't you do `rc=$(adb shell "monkey -p ${applicationId} -v ${TEST_EVENTS} ; echo -n \"\$?\")` and remove the next line?