Add STATE_LIVE and STATE_DRAFT constants

Fixes #20