vagrant deploy: various bug fixes.

- Change Hadoop download site to archive.apache.org for better download locality.
- fix hostname resolution issue. Vagrant sets hostname in /etc/hosts, making 127.0.0.1 the default IP for given hostname. If only hostname is used in *-site.xml, Hadoop daemons then bind their ports, they uses 127.0.0.1. This makes other nodes unable to connect to NN and RM. This fix uses hostname+domain, per CDH document, to make daemons bind public IPs.

Tested on Virtualbox and AWS