Can't use sudo as an argument in cap shell command

Leave sudo alone when it is in a position that a command argument uses.

https://github.com/capistrano/capistrano/issues/251
ST: Added :copy_via variable to :copy strategy in order to :scp or :sftp (default) to the remote machines
Add sudo support where it's missing

use try_sudo for capture commands and deploy:rollback
Escape globs in directory names when using copy_cache

The queue_files method of the copy deploy strategy passes directory
names to Dir.glob. This commit causes glob characters in the path to
be escaped beforehand. Otherwise, directories with names like 'app{1}'
would fail to be matched.
Adds command line option for branch name on initial clone so that :get_shallow_clone option works with branches
default log formatters handling

Allow users to formally reference and set default log formatters
through an api on the Capistrano::Logger singleton.

- use `Capistrano::Logger.default_formatters` to refer to the current defaults
- use `Capistrano::Logger.default_formatters=` to set custom defaults
simplify dependency list
Updated shell to allow changin config settings

Example: set :some_setting new_value
Fix issue #336
Added test for updating config in shell
Escape deploy:finalize_update asset_paths separately

Commit 483d2538e6 improved robustness by escaping some arguments in
shell commands.  But it also introduced a bug when there are multiple
public_children configured (the default case), resulting in issue #300.
Commit 6b499f53c6 resolved this issue by reverting the code to escape
arguments.

Escape the arguments separately, rather than as one shell word, to
improve robustness while also avoiding the bug in ticket #300.
reporting if command got killed by a signal.
Update both asset mtime and atime with touch
improved parallel commands logging
fix filter_server mock
do not raise exceptions in filter_servers if dry_run
improved error message when no servers matched for code branches
Ensure that :gateway is not nil or empty before establishing gateway connection
No tabs, please.
No whitespace, please.