D8beta4 #2012896 fields are now configuration entities

Field and field instance are now configuration entities.

Use FieldStorageConfig::create() instead of field_create_field().
Use FieldConfig::create() instead of field_create_instance().

See details on https://www.drupal.org/node/2012896