Replace `this.constructor` references with `jQuery` in core

This commit fixes ticket #13677. It solves an issue that occurs when
attempting to inherit from jQuery via prototypes, in which the
inheriting object's constructor would be called in situations where
we wanted to call the core `jQuery` constructor instead.