Fixed single find query

Code checks for an incident with empty attributes to denote failure,
but the constructor failed instead. This caused errors whenever a
query returned no results. Now works as intended
Added incident state macros

Can use `is_closed?`, `is_resolved?` and `is_open?` to
determine the state of an incident