Turn Loader#load and #loadBytes into native implementations

Also adds handling of parameters set via `LoaderContext#parameters`.