purge resourceloader startup url
changing method of checking if the regex matched, ditching unnecessary  array
whitespace
Adjusted condition, added logging, renamed  to something more descriptive
Merge pull request #2039 from Wikia/VE-545

VE-545: Purge ResourceLoader startup file when wgEnableVisualEditorExt is toggled