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.
I'm happy to leave them as-is for now and clean in a future PR.