Add test for object init/deinit
Add build setup for testing ws_object with check

Fix for including libpthread included.
Fix: We do not have main() args
Add allocation test for object type
Add test for type id for object type
Add test for object type settings
Add object type settings set test
Add getref test for object type
Add unref test for object type
Add object callback test: dump state
Add object callback test: run
Add object callback test: hash
Add object lock test: read
Add object lock test: write
Add object lock test: try read
Add object lock test: try write
Add test for comparing objects
Add tests to CI
Fix: Check if deinit callback is available before calling it
Fix: Set ref-count to one instead of zero on object init