D8beta4 tests fix

Embed multiples fixs for simpletest and tests.
One pull request to rule them all. I close previous.

* Rename DrupalUnitTestBase to KernelTestBase following https://www.drupal.org/node/2271271
* Test class getInfo() removed. See https://www.drupal.org/node/2301125 for more details.
* #2315865 Rename randomName() called function to randomMachineName(). See issue on https://www.drupal.org/node/2315865 for more details.
* Set action configuration for delete, publish and unpublish actions in profile.schema.yml file.

Tests failed. Based on error message and node module, fix this adding action configuration data in profile.schema.yml like :

```
action.configuration.profile_delete_action:
  type: action_configuration_default
  label: 'Delete profile configuration'
```

* #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

* Global config function no more exists. config() fonction is called instead of \Drupal::config().