8.0.x compatibility

Multiversion module compatibility with Drupal 8.0.x HEAD
We need to merge the changes in `key_value` to `8.0.x`.