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
Merge remote-tracking branch 'upstream/master' into issue/241