Follow redirects when fetching the casher script.
Fetch casher executable from githubusercontent.com.
Fetch Sauce Connect script from githubusercontent.com.
Fix for NPM config to use global certificates.
Look for npm before running npm config.
Redirect which npm to /dev/null.
test(service): rename the service build script spec file

Without the _spec suffix it won't be run.
fix(spec): fix the build script service spec
fix(script): fix output redirection for resolv.conf update

From the bash man page:

  Note that the order of redirections is significant. For example, the
  command

    ls > dirlist 2>&1

  directs both standard output and standard error to the file dirlist,
  while the command

    ls 2>&1 > dirlist

  directs only the standard output to file dirlist, because the standard
  error was duplicated from the standard output before the standard
  output was redirected to dirlist.

I changed this to &> which redirects both stdout and stderr to the same
file.
fix(hosts): update sed expression to work with BSD sed

BSD sed is used on OS X. This version of sed requires an argument to be
passed together with the -i flag. Bash interprets -i'' and -i the exact
same way (this is how string concatenation works in Bash), so the space
is required for sed to notice the empty flag.
fix(npm-fix): removing the NPM fix as it is no longer needed
Remove reference to `fix_npm` method

This was removed by the previous commit.
Retry git commands

We should retry `git submodule` and other commands
Remove retries when they're not useful
Merge pull request #216 from travis-ci/ha-bug-gh_ci_2061

Retry git commands
Return from bash functions

Do not exit the script when the process ends.

This fixes https://github.com/travis-ci/travis-ci/issues/2064
Output log file from command travis_wait executes
Merge branch 'master' into rkh-casher-check