Rework --shell option into --generate-hook to avoid option conflict

The Symfony Framework console has a global --shell option which makes 0.4.0
of this module incompatible with it. Conflicts can't be avoided with everything,
but since use with Symphony Framework is one of the main use cases for this
module, it's worth avoiding a conflict.

Resolves #6