Geolocation overriding in devtools

My first time I contributed to Firefox source.
This needs some additional tests, due it's untested.