Plugin init compatible with Rails 4
Merge pull request #33 from jlecour/rails4

Plugin init compatible with Rails 4