osd: verify osd config sanity checks

Contribution to https://github.com/ceph/ceph/pull/1964

Signed-off-by: Loic Dachary <loic@dachary.org>
might need a 'ceph daemon osd.0 log flush' in there sync the logging is async