use new ActiveRecord::Generators::Base class for 'rails g friendly_id'
Merge pull request #392 from lacco/rails4-generator

use new ActiveRecord::Generators::Base class for generator