Raise an error on page load if dev and pending migrations
Raise an error on page load if dev and pending migrations

Fixes #22160

In development, it's easy to miss running a migration so this will hopefully
prevent some user errors.

You'll see this in the log on any UI or API call:

```
[----] F, [2022-10-11T15:58:29.779309 #96316:13fc4] FATAL -- :
ActiveRecord::PendingMigrationError (

Migrations are pending. To resolve this issue, run:

        bin/rails db:migrate RAILS_ENV=development

You have 1 pending migration:

20221010195912_update_placement_group_view_feature_identifier.rb

):

```

jrafanie/manageiq,jrafanie/manageiq,ManageIQ/manageiq,kbrock/manageiq,jrafanie/manageiq,ManageIQ/manageiq,kbrock/manageiq,jrafanie/manageiq,kbrock/manageiq,ManageIQ/manageiq,kbrock/manageiq,ManageIQ/manageiq