Merge pull request #45 from id774/master

Update to activesupport 4.0
327 Make it fit for ActiveRecord 4.0
328 Pending tests for activemailer 4.0