Add the capistrano v3 way of using gateway servers

This is based on the discussion in
https://github.com/capistrano/capistrano/issues/725#issuecomment-30089068
and there is also the git config way of doing it.