Automatically apply registry definitions.

Constant proxies are now capable of automatically applying registry definitions
(if not done so already) when they are used.
Added a spec for the File definition.
File spec should also check for File.open.
RubyObject#constant_proxy should take a registry.
Specify the constant proxy registry.

The built-in definitions now specify what registry they should use when trying
to automatically load and apply a definition.