fix(HTMLImports): use initCustomEvent for HTMLImportsLoaded

This commit switches the api to use initCustomEvent. It also cleans up some quotation inconsistencies.