[GreaseMonkey] Added support for GM_Settings functions.

Closes #814