Fix formatting
Bug 1091433 - Add setting to detune GearStatePlugin

* Add sysconfig/watchman element STATE_CHECK_PERIOD to control
  frequency of running GearStatePlugin
Merge pull request #5382 from danmcp/master

Fix formatting
Merge pull request #5383 from jwhonce/bug/1091433

Merged by openshift-bot
Bug 1094541 - check for null values