Add get_permission and set_permission
Use set_permission to turn off geolocation prompt for Camera
Address nits
Merge pull request #267 from bobsilverberg/perm

Add get_permission and set_permission