Add simple support for Rails Engines by adding base_application config.
Convert one remaining Rails.application reference.
Merge pull request #20 from scienceexchange/master

Add simple support for Rails Engines by adding base_application config.