Mimic an ENUM type field for content block status.

Doctrine doesn't support ENUM type fields. You can mimic the behaviour
by throwing an InvalidArgumentException when an invalid value is used.