define all commands as subclasses of 'Pry::ClassCommand'

I noticed recognize-path, show-middleware, and show-routes used 'create_command'
to define commands while the show-model and show-models commands are defined as
subclasses of Pry::ClassCommand.

I think Pry::ClassCommand subclasses are slightly more clean, and makes the
definition of commands consistent throughout the project.