added some common functions for detecting play and scala versions
fixed up some tests for older play versions
used the new common functions in the compile script
restructured splitting of sbt cache bundles
replace temporary url with url of s3 bucket