Make Ruby runtime object available when creating resources.

This will allow implementations to make use of it when doing things like
raising exceptions, etc.
Implement EmptyFileResource