CDK-860: Add localhost to /etc/hosts to fix Travis CI.
Merge branch 'CDK-860-fix-travis'