pothos: added class pointer argument to register call
pothos-library: register call with explicit instance cast
Merge branch 'fix_register_call'