Bug 1067345 - Make *all commands honor stop_lock

* The *restartall commands didn't honor stop_lock originally to
    support Online Ops usage. They no longer require the specialized
    behavior.
* Refactor to efficiently use ApplicationContainer