osd: verify osd config sanity checks

Contribution to https://github.com/ceph/ceph/pull/1964

Signed-off-by: Loic Dachary <loic@dachary.org>