added flexible test class 
allow mixed selenium/headless testing
Merge branch 'js-testing' into fix-all-the-tests

Conflicts:
	samples/j2ee/snippets/com.ibm.sbt.automation.core/src/main/java/com/ibm/sbt/automation/core/test/BaseApiTest.java