Turn Loader#load and #loadBytes into native implementations

Also adds handling of parameters set via `LoaderContext#parameters`.
Merge pull request #1651 from tschneidereit/master

Turn Loader#load and #loadBytes into native implementations