Adds support for conditional deployment tasks in capistrano