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

Currently, ```rails generate friendly_id``` raises ````next_migration_number': NotImplementedError``` (see #390) because the generator classes has been refactored for Rails 4. This pull request fixes this error by using the correct superclass.