Added mutex type and changed pthread.c accordingly

Several changes were made:
- types_pthread.h now includes enum pthread_mutex_type.
- mutex-functions in pthread.c now include different options for NORMAL and RECURCIVE type mutexes.
- pthread_mutex_t-struct now has variable enum pthread_mutex_type type.
- it also has variable int lock_count