client: correct ifcheck --state option

When the state of a device is higher or equal to the requested
state, print the state and return OK.
Otherwise complaine about expected state.
Merge pull request #130 from pwieczorkiewicz/merge-18122013