Add definitions for Greasemonkey user script

This commit adds greasemonkey.d.ts which defines global functions
and global variables provided to user scripts running on Greasemonkey.
Merge pull request #1188 from kotas/add-greasemonkey

Add definitions for Greasemonkey API