add mutex_unlock_and_sleep()
add test for mutex_unlock_and_sleep()
Merge pull request #728 from BytesGalore/add_unlock_mutex_and_sleep

core:mutex: enable atomic execution of unlock a mutex and sleep for a thread