LPS-46916 - Remove deprecated and unused JS (Unused or old methods in Liferay.Util)

Hi Jon,

Attached is an update for https://issues.liferay.com/browse/LPS-46916.

I made 4 commits, the first one being the biggest change of removing unused code and switching to AlloyUI equivalents.  The next 3 are regarding methods that were only used in one spot, so I moved them out of util.js and into where they were being used.

Please let me know if there are any issues.

Thanks!