Validate ref in capistrano deployments
Provide BRANCH env to capistrano through child processes's env.
Move ref validation to default_provider
Merge branch 'bundler-capistrano-cap3-support' into flowdock

Conflicts:
	app/models/concerns/local_log_file.rb