Plugin Sync: change to use window.dialog and dim the Authorize button when authorizing
destroy and remove dialogs after they're closed - otherwise they remain in the DOM, hidden but there
fix #288
Merge pull request #289 from Xelio/patch-plugin-sync-1

Plugin Sync: change to use window.dialog and dim the Authorize button when authorizing
increase refresh time for game score - it's not a time critical thing
change guess-player-levels to use existing functions to turn name to guid
this prevents it from unnecessary server calls to convert all player GUIDs into names, when we only care about already resolved names
also gives a single point for optimisation of name to guid lookup if required
bump version number for previous change
cache reverse lookups from player name to guid - this prevents the potentially slow iteration throughout localStorage for every lookup
rewrite default base map layer handling. it remembers by name, rather than id (so will work if order changes), and also works if plugins add additional base layers
Plugin Sync: Rewrite code for file search and create. Store the fileId to localStorage and limit retry count to ease API usage.
remove restrictions on zoom in getPosition. instead, after a defaault base layer is set, use setZoom(getZoom) to ensure zoom level is valid for this base map
first version of in-app layer chooser
Merge branch 'master' of github.com:jonatkins/ingress-intel-total-conversion
bumped version number
Merge pull request #291 from Xelio/patch-plugin-sync-2

Plugin Sync: Rewrite code for file search and create. Store the fileId to localStorage and limit retry count to ease API usage.
hide the layer chooser on mobile - it's now handled by in-app code
the layer chooser object itself needs to remain though, as it's used to keep track of the layers available, and plugins would break without it there
check for android interface before calling functions of it
added icon for android layer chooser
list overlay layers first in in-app layer chooser
Plugin Sync: Change folder name to avoid conflict of old clientId
got rid of the quotation marks in in-app layer chooser