TIMOB-17016-Null check to avoid crash
TC-4715 : Add ability to request Geo Location Permission
This commit contains the ability to request geolocation permissions in iOS8+
Ticket: https://jira.appcelerator.org/browse/TC-4715
Approach: https://gist.github.com/benbahrenburg/4bcda636397cb095025f
[TC-4715] Fixed minor things in Ben's PR
[TIDOC-1874] Fix autorotate property
Merge pull request #6089 from bhatfield/tidoc-1874-3_4_X

[TIDOC-1874] Fix autorotate property
Merge pull request #6086 from pec1985/TC-4715-3_4_X

TC-4715 : Add ability to request Geo Location Permission
Merge pull request #6044 from salachi/TIMOB-17016_New

TIMOB-17016-Null check to avoid crash