Add helper functions for shorter lock/unlock calls
Add implementation for ws_object_getref()
Fix: const keyword location in object callback typedefs
Add free callback type for object type
Add implementation for ws_object_unref()
Remove lock checker functions
Add lock initialisation
Make ws_object_get_id() threadsafe
Make ws_object_get_settings() thread-safe
Make ws_object_set_settings() thread-safe
Simplified ws_object_run()