Make new markup templates work from Jar deployment.

Closes #410.
Update Layzbones template to use https for Gradle wrapper
API improvements around HTTP client.