refactoring module/ownet/c/src/example
simplify semaphores and mutexes in ownet/c

unused mutex removed (with related code)
moved all code related to semaphores in ow_rwlock.c from ow_debug.h