SPARK-1088: Create a script for running tests so we can have version specific testing on Jenkins (branch-0.9)

This is for branch-0.9.

#592 is for master branch (1.0).