Make #flash_messages support Rails 4.1

Hi Winston, as flash keys in Rails 4.1 now normalised to string, could we convert the key into symbol before generating the flash class?

Please see: http://guides.rubyonrails.org/upgrading_ruby_on_rails.html#flash-structure-changes

Thanks!