kiji-schema: SCHEMA-539. Improve lifecycle maintenance in Kiji classes

issue: https://jira.kiji.org/browse/SCHEMA-539

change state holder from atomic boolean to atomic reference of enum

add state checks to lifecycle objects where necessary

review: https://review.kiji.org/r/1175
commit: https://github.com/kijiproject/kiji-schema/commit/bd5d9bfee13113b0395ed5dc47c42e0fbdef4450