Make check_command optional

Check if a host object's `check_command` is actually defined (and not
null) before adding it to the properties hash in `opsview_monitered`.
Fixes issue #22.