New Plugin: Favorite Portals

Creates and manages a list of the users favorite portals for quick
switching between distant areas.
Updated script headers
Accidently deleted the includes
= Redemption tweaks, round 3

* Pass the entire acquired item into resource decoders instead of the attribute in question. Generic 'resource' objects have things we need to examine.
* Formatted support for the `resource' taxonomy (portal keys and JARVIS/ADA). Remove standard 'default' taxonomy in favor of this.
* Let individual items override their own primary key (for example, JARVIS/ADA are both a FLIP_CARD, but we don't want to smash them together)
* Let the server-side item name override the "hard-coded" name in IITC
* Assuming that passcodes can eventually work like portal hacks, add support for the MEDIA and PORTAL_LINK_KEY item types.
* Change plaintext and HTML display for modResources in anticipation of link amplifiers
* Log entire JSON response to the console if we have to guess about items.
* Add more encouragement.
* Add Jarvis/ADA JSON responses, fake media items, and fake portal keys to json_examples.
Merge git://github.com/jonatkins/ingress-intel-total-conversion into alignment-virus
Style tweak
Updated to use dialog() and changed dialog text
added back desktop mode (see #304)
use class attribute to check for enabled/disabled desktop mode
improvements to date formatting
- leading zeros on month/day
- milliseconds in chat tooltips
Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion
Merge pull request #317 from integ3r/alignment-virus

Passcode redemption: Support for Alignment Virus and other item types, tweaks
add util function to escape strings for manual building of HTML, and use this for the portal title
fix #319
Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion
the ada refactor/java virus can mean a player owns resonators of a higher level than himself. make sure we don't end up with negative values in this case
fix #322
add a limit on the number of map tile data requests merged into a single bucket - the server seems to have some limits on this
yes - it will cause more requests in this case, but that's nicer than just completely failing

fix #320
run the name resolving process after showing the dialog - it's not automatic
don't resolve more than 15 names in one request - this is approximately the limit imposed by the server
if more are to be resolved, multiple requests are made. this does increase the odds of hitting the request rate limit, but in that case we'll get http failed requests and the names will be pushed back onto the pending resolve list for next time

fix #323
remove some debugging console.log calls left in by mistake
remove the max-width from dialogs (but keep for tooltips) - as the jQuery dialog code already handles width anyway, and forcing it in css prevents this from working