Move resource_feeder from plugin to lib to support Rails 4.0+