* Fixup: Carelessly swapped collapse and expand callbacks
Merge git://github.com/jonatkins/ingress-intel-total-conversion into dialog
Merge pull request #262 from integ3r/dialog

Dialog fixup: Careless swap of collapse and expand callbacks
notify android when select spinner is opened/closed (fix for #255)
* Fix bug that would cause modal dialogs to not show up (modal dialogs aren't draggables)
* Fix issue that broke portal poslinks on mobile
* Code style tweaks
Merge pull request #266 from integ3r/dialog

Dialog fixups: Mobile
Smaller status bar to suit mobile and further tweaked scale bar position for small mobile displays.
Added some help popups.
upgrade leaflet to the master version - taken 2013-05-12 - 3d3e2cd
should fix issues with layer control on mobile, and other improvements
also - the convention for marker filenames has changed from ...@2x.png to ...-2x.png for the double sized ones - so changed our files to match (we had a mix of ...@2x.png and ..._2x.png)
update layer chooser styling on mobile
- remove size increase for layer chooser - it's large enough already (and matches the size of other android UI elements)
- remove extra padding between layer chooser lines. yes, it'll be harder to click the right line, but smaller screens have it pushed off the bottom sometimes without this)
Reduced render limit on mobile.
fix draw tools. the leaflet upgrade broke it, so the leaflet.draw needed updating too
some of the hacks to do snap-to on points have been removed, at least for now - they needed major rework to fit in
additionally other customisations added are also removed - this is basically now stock leaflet.draw with edit-mode enabled
bump draw tools version number, due to the major leaflet.draw upgrade
Merge pull request #270 from hastarin/mobileRenderLimit

Reduced render limit on mobile.
Merge branch 'statusbar' of https://github.com/hastarin/ingress-intel-total-conversion into hastarin-statusbar
zoom level 0 isn't impossible - so make it display L8 only portals, like the next few closer zoom levels
add utility functions to clamp latitude to +-90.0, and longitude to +-180.0
clamp bounds used for map data requests. no point in trying to request data outside +-90, +-180 coordinates, as it's pointless, and the server returns an error code anyway
minor status bar tweaks
- make L8 not show L8+
- add a little margin between the level info and the map status - may need reducing a little for mobile
- indentation fixes, minor cleanups