test lw_rwlock_t

- modified lw_mutex_example.c to test lw_rwlock_t with read only and  read-write locking. It is working fine.
- modified lw_lock_common.h to handle lw_rwlock_t