Entity status + drafty

Same changes as https://www.drupal.org/node/2389185