Process Loader queue before frame events in player's main event loop

Testing shows that that's how it is in the player.
Add reftest for Loader.load
Merge pull request #1618 from tschneidereit/master

Execute queued Loader operations before frame events in main event loop