Do not extract function name if given explicitly by user

Useful to register functions decorated by partial
Merge pull request #46 from ticosax/register-partial-as-rpc

Do not extract function name if given explicitly by user