Added a dist and a runtime directory as part of a tidy up.
updated to work with new runtime directory
updated for dist directory.
switched to a pre-build CentOS base image and removed some guff from this file.
- works with the new dist and runtime directory structure
- updated for prebuilt image so no need to install java/unzip/maven
- added the ability to re-provision gracefully
- works with the firewall setup as well
changed the bind port to be 0.0.0.0 so that it accepts connections apart from localhost for our rest interface - other interfaces may need fixing as well.
updated for new directory structure.