[Review] Request from 'aduffeck' @ 'SUSE/machinery/review_141017_support_setuid_mode_flag'

Please review the following changes:
  * 7f6d78f Change file inspector schemas to work with setuid flag
  * 21ae0e3 Add tests which check that the generated JSON conforms to the schema
This test is more complicated then the above.