Testing preloadResource with callback/timeout capabilities

Successfully tested browsers: *

* where "successful" means that load/error event fires when loading resource, and that timeout callback works as expected.

Known failures: