support running tools/bazel script in java integration tests (#31)
support running tools/bazel script in java integration tests (#31)

* support running tools/bazel script in java integration tests

* make additions to script POSIX compliant

* CR changes

bazelbuild/bazel-integration-testing,bazelbuild/bazel-integration-testing,bazelbuild/bazel-integration-testing