Adds `Context.register()` method to replace decorators.

Adds `Proxy()` class to improve proxy performance and encapsulation.
This could also be `pxy.type_str == str(type(LocalArray))`, but importing something from `Local` on the client might still be forbidden.