fixes #29 so docker:build can expose ports
Merge pull request #30 from jstrachan/29

fixes #29 so docker:build can expose ports
Fix replacement of docker host URLs starting with "tcp". Fixes #28
fixes #22 so we can have a rootWar assembly ref to create a ROOT.war
added an NPE check