[OE-4492] First pass at moving core assets into clientScript packages.

A lot of code was removed that handled the priority of scripts/stylesheets. We can now use clientScript to manage script depedencies (and priorities).