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.

Passing `code` to method allows error checking, because monit stores codes in `status` and error flags in `status_hint`.