RequireCommand - rollback if it fails (fixes #1469)
RequireCommand - check if composer.json is writable
Merge remote-tracking branch 'bamarni/require-command-rollback'
Add explicit return