Setting rails dependency flag when sidekiq is loaded through the CLI
Setting rails dependency flag when sidekiq is loaded through the CLI

When the Sidekiq::CLI is defined, it means the "bin/sidekiq" was the
entrypoint, so the app_type should be defined as sidekiq and not rails even
if rails is loaded as a dependency

Closes #285

bugsnag/bugsnag-ruby,bugsnag/bugsnag-ruby,bugsnag/bugsnag-ruby,bugsnag/bugsnag-ruby