Lazy loading of core definitions.

Although this approach is rather basic it should cover most of the uses of core
Ruby constants.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>