Status checking

Monit service has fields `status` and `status_hint`. If error occurs then monit sets bit in status field and resets same bit in status_hint.
I add constants and method for errors checking in status field.

Rather than converting `status` and `status_hint` to ints constantly, I think they should just be stored as integers.