Make bootstrap_flash work with Rails 4.1.0.rc1

Flash types are strings in [Rails 4.1.0.rc1](https://github.com/rails/rails/commit/a6ce984b49519de7701aa13d04300c9d03cf8f72). The current code expects types to be symbols and doesn't work with string types.