Added debugging to dom loader features
Added assertions for input parameters. Reindent code based on outer closure. Stricter following of Core code formatting.
Commented out some problematic assertions
More tests + clenaup of local promisifyGenerator
Added new type ArrayOrPromise and fixed type checks
Another test