Constantize class names before we use them

The items in `ROUTE_HELPER_CONTAINER` were constants from different Rails components and if we try to use the gem in a Rails project without all of those components (eg. without `ActionMailer`), it would break.

This pull request makes sure the constants we use exist before we try to inject code in them.