add rails 4 support
made the flash messages i18nable
Merge pull request #12 from raw1z/master

rails 4 support