livestatus: finish commentstable attributes

refs #4372
livestatus: use enum for error codes, fix empty line

refs #4372