generator,glib: Added Mutex, RecMutex, Cond types

Bind these types manually and added generator support
for them.