[BUGFIX] deferReadiness is never rejected(or resolved) when opening app from another window/link
in favor of window.__torii instead of window.torii for determining status of torii popup
adjust tests to use window.__torii flag
add suport for location polling based on configuration, or if running in IE