use secure server for replication - note that this is WITHOUT "https://" prepended
Remove commented lines
use context url to get cgi url
Change discoverTomcatDir to discoverDeployDir
FIx comments for getContextDir to reflect that we no long append webapps to the path
Differentiate between tomcat directory and deployment directory.
Move references to sql scripts into the WEB-INF directory.
Merge 1.9 changes into Head