Set Loader.prototype.constructor

This allows subclass constructors to call the Loader constructor via super.

Fixes #153.