for ruby 2.x & Rails 4.x

- device.rb => remove attr_accessible
- gcm_migrations_generator.rb => remove extend & add next_migration_number