Updated Travis environment to redirect 172.31.1.2 to 127.0.0.1

This allows test suites to use one IP address between both vagrant and
travis.