More core commands

Move more commands (and stuff) out of `Contributions`. Also, make some commands that only apply when `HOMEBREW_DEVELOPER` is set. This bit is maybe a bit more controversial.

CC @adamv @mistydemeo @jacknagel @tdsmith @asparagui for thoughts and review.
My other comment got lost in a rebase, but we can get rid of this command entirely.