Added test support for ClojureScript.
Handle endsWith call in ClojureScript.
Handle startsWith call in ClojureScript.
Handle java.net.URL in ClojureScript.
Workaround differences in regex evaluation.
Merge Clojurescript testing support from jeluard, pull req 3.