8.0.x compatibility

Multiversion module compatibility with Drupal 8.0.x HEAD
Please remove all the code that is out-commented here.