move migration reordering out of rails, and in to the app

This depends on manageiq/rails#11 getting merged.  Basically, I want to move pk reordering code back in to our app.  The monkey patch I've added in the PR will work going forward, so this will remove an upgrade barrier.