Bug 933709 - Write test for geolocation prompt

added test for geolocation prompt, updated system app functionality,
Moved test to tests/system/, as was suggested by @zac, and seems logical, but it still uses camera app to test prompt... Added dealing with system permission dialog prompt, could be used in other cases as well, I think...