replace run block for data capturing with capture method + make try_sudo work

- replaced the run blocks for data capturing with the capture method
- used sh -c around the try_sudo commands to make the the whole command
run by the sudo user and not only the part before the |
- used force delete to skip the 'remove write-protected regular file?'
question
Merge pull request #343 from daanporon/issue/337

database:dump:remote doesn't work
BugFix running cap deploy with user_sudo = true
Use composer optimize autoloader

Use composer "--optimize-autoloader" option per default
Merge pull request #347 from gimler/patch-1

Use composer optimize autoloader
Merge pull request #344 from jeroig/master

BugFix when deploy symfony 1.4 with user_sudo = true
Fix tests
Remove the ability to copy of Composer between releases
Prepare 2.2.8 release
Bump version to 2.2.9.dev
add use of flush option in doctrine:clear_* task
remove inline condition
add unit test for doctrine_clear_use_flush_option
Merge pull request #349 from metfan/master

add use of flush option in doctrine:clear_* task
Dump Assetic files to latest release directory
Merge pull request #353 from tobiassjosten/master

Assetic dumping to latest release directory
update specs
Added custom assets:install path

Added a custom assets install path
Use capistrano-maintenance 0.0.3
Merge pull request #362 from alex88/patch-1

Added custom assets:install path