Refactors publisher.rb and pusher.rb.
Unit tests Cli::Publish