Allow loading of ".class" files as well as ".rb"

This provides support for rb files compiled by jruby.