added an option to shutdown jetty
refactored test script
added test runner script for integration tests