Entity status + drafty

Same changes as https://www.drupal.org/node/2389185
Would it make sense to put these in another file as they are not called regularly and don't need to be loaded during normal operations?