Add jboss7 https support, and use template conf

- Configures jboss' AS7 for https (including keystone)
- Switches JBoss7SshDriver to use a template configuration file,
  rather than lots of sed commands.
- Uses freemarker v2.3.19.
Convert ElasticCustomLocationTest from groovy to java

- because giving strange groovy compilation error in eclipse ide