Update script correctly at install time.

Fixes #1744 -- thanks janekptacijarabaci !
Allow a 'context' to be passed into GM_xhr's details, and set on the response.

Fixes #1725