Add pending_check and refactor buddy_check

pending_check allows an owner or admin to start or stop a pending deploy
(intended for use on restart of samson.) Refactor a helper method.

buddy_check and pending_check use a common style, "check", that was
refactored from "buddy-check".