use java7 to run secor processes by default
refactor to share the logic to determine which java to use
make sure that we use bash shell
Merge pull request #49 from yswu/yswu_java7

use java7 to run secor processes by default
Add `scripts/run_tests.sh` to .travis.yml
Add conf_dir variable in run_tests.sh
Skip compressed tests on Travis