Entity status + drafty

Same changes as https://www.drupal.org/node/2389185
This is directly copied from https://github.com/LionsAd/cps/pull/2/files#diff-df1473057abc6e879c6e5cf20ef6eb41L968

I think it's worth looking at the published = 0 hard coding in another issue though.