Fully remove Greasemonkey support

This is a WIP pull request for fully removing Greasemonkey support from RES.

**TODO:**
* Replace/rename the Greasemonkey API functions with standard functions, likely under `RESUtils`.