Extract strategies from commands

Resubmitting pull request https://github.com/tvaughan/middleman-deploy/pull/42 to strategies branch.