Fix 546 and add osquery_flags

It would be nice to have a general osquery information set of tables. For generic info like version, pid, config hash we have osquery_info, for a list of the current arguments/flags/config options we have osquery_flags, and then we can add osquery_schedule, and osquery_subscriptions if that's fitting in the future. 

For the schedule I'd like to emit the number of hits/diffs too.