Bugfix: check Rails.logger presence

Rails.logger presence was not check (only Rails presence checked).
This caused problems if fetching the config inside the Application
configuration (no Rails logger set yet).
Merge pull request #2 from cecigarcia/fix_check_rails_logger_presence

Bugfix: check Rails.logger presence