Wip osd shutdown notification

wip_osd_shutdown with comments addressed (heartbeat_lock primarily) + code to mark osd down prior to shutdown