Add helper function for setting scan area and event listener for end of map data loading
Remove unused code
Introduce simple event system, decouple page loading code and minor improvements

+ First refactoring; introduced simple event system and made all code rely on context object
+ Implement more robust login method (handle invalid login attempts, asf.)
+ Collect data of portals being shown in current map viewport; rely on IITC event
+ Remove unnecessary fs.exists() checks
Update README to reflect recent changes
Updated to latest IITC test release.

Must fetch latest GitHub release before every scan and reload default page to make it use the new code.
Last remaining change to make application event-based
[iitc] Update to latest test version and check for _nianticApiFatalError_ before executing application logic
Make scan logic event-based; introduce client events; cosmetics

+ Connect event bus to client context
+ Instead of fixed pauses after each scan action we use the event bus to coordinate the scans
+ Wrap chat data handler of IITC to get notified once ALL chat was loaded
+ Some cosmetic changes
[config] Reduce default pauses after sector/field scan because the whole scan process is now event-based (so we can reliably determine when things are fully loaded)
[config] Ignore logs from event bus, client console, page and ScreenshotService by default and reduce pauses after field/sector scan
Update README to reflect recent changes
[client] Rename client-sent event that is trigger once sector was scanned, add timestamp and bounds to event data object
[scanner] Minor optimizations to scanner logic, introduce event `scanner:fieldScanFinished`

+ Remove unused RPC code (obsolete since we're using a event-driven approach now)
+ Make log messages nicer
+ Make scanner closures pass event data to each other
[screenshot] Persist refresh interval as cookie, so that it will remain over multiple requests