Replacing Rails.application references

As we are moving towards this being a mountable engine; I should not
be referencing Rails.application.config and instead should reference
the Curate.configuration.