Fix editor incompatibilities

* Give the ability for external scripts to disable loading audio or images or both, it was required for preview generation.
* Pass time in scripting module handlers
* Make projects always infinite in scripting module
* Fix `contains` test to include scale in applying of pivot/registration point
* Fix image mockup in tests