Logging tweaked for on-device debugging ease (to wrapper that duplicates onto screen -- but filename & line numbers lost).
Added Eclipse/Aptana JavaScript assist (web and faceted project natures added)...
Couple of non-user directories excluded from JS error checking to ensure sane error list.
A few missing ';' at EOL errors fixed in main.js.
Merge branch 'master' of https://github.com/SaqibS/navhack
Merge remote-tracking branch 'remotes/phone-over-usb/master'

Conflicts:
	assets/www/lib/main.js
Massive tidyup...
Converted non-JQuery module files to that form (main.js and GeoCoord.js).
Moved main.js and GeoCoord.js from lib to src.
Applied Aptana JS validators (JSLint, Mozilla, Parser errors) and fixed most errors (leaving roughly 6 real JS issues outside 'junk' "rnib-openstreetmap.js" + ~91 jasmine undefs).
Corrected method ordering for declaration vs. use (i.e. declare before use).
Reformatted everything with Aptana formatter (with tabs rather than previous mixed form).  Re-added spaces after keywords (if, for).
Added extra log level methods (debug, info, warn, error) with on-screen colouring.
Fixed TTS module.
Fixed bad object iterators (added "if (o.hasOwnProperty(k))" tests -- from JSLint).
Temporarily switched app to preferring installing to SD card (bug workaround).
PosPoller created, GPX file added, OO improved...
Refactored location polling from main.js to rnib-posPoller.js.
Switched posPoller to being a class and added test-cases for its farAndLongEnough() method.
Added rnib-utils.js to improve JS OO capability (Crockford's Function.method() and Function.bind()).
Added mock GPS walk file barbican.1.gpx that walks Android emulator from SkillsMatter to Barbican Underground station.
Added disabled PhoneGap-hosted Weiner use (remote debugging of on-device web apps) -- see index.html
Deleted rnib-openstreetmap.js and rnib-check.html|js since they're not being used and are in history.
Minor fixes & tidyup...
Tidied spec/posPoller.js to reduce redundancy.
Reduced variable hiding (spec/points-of-interest.js, src/rnib-compass.js, src/dataLoad.js)
Moved AndroidManifest SDK element to remove warning.
Updated .gitignore to correctly ignore Vim swap files.
PerUpdate and MockPositionner introduced...
Factored-out PerUpdate from PosPoller.
Factored-out MockPositionner from posPoller.
Added PosPoller.stopPolling().
Updated plan; Factored-out GoodNode and GoodWay from rnib-dataLoad.js; ...
Fixed GoodNode getters.
Updated spec/dataLoad.js (sub-describe() sections).
Updated devPlan.md; Switched from OSM AJAX/JSON to rnib-dataLoad.js; lots more...
Massively updated and restructued devPlan.md with current code summary, next step design and some plan steps for going from to t'other. (remaining items are first steps towards this.)
Switched from using OSM AJAX/JSON call to rnib-dataLoad.js and added temporary init in main.js (eventually will be triggered by GPS acquisition).
Segmented main.js by functional area (DeviceInit, InitTTS, DataLoadInit) and added ReadyCountdown to only start the app after all done.  Some odd behaviour from setTimeout() worked-around with extra closure.
Renamed GoodNode -> Location, GoodWay -> Way.
Added naming of Location (getters aNamedWay, aName, ownName).
Added toString to Location, Way, GeoCoord, Bounds.
Restored rnib-dataLoad.js bounds loading and added checking.  Initially just Error when outside (eventually will trigger server-call + cache addition).
Temporarily added skipping nodes without name (on self/ways) from closest node.
Increased PhoneGap debug level (DEBUG->VERBOSE).
Disabled load of unused PhoneGap modules.
Corrected mapDataModule rename excessiveness from previous commit.
Revamped OSM data loading; Some JSDoc added; Firefox fake GPS data; plan updated...
Many dataLoad changes:
* Object-oriented dataLoad into public LocationProviderOSM and private MapSegment & inner Builder.  (N.b. Massive refactoring of dataLoad.js is mostly moving things around.)
* Switched to async approach (method calls to allow data loading).
* Modified API to deal in Locations.
* Switched from working with XML nodes & ways to Location & Way throughout (in arrays, etc)
* Added attributes to Location & Way (attrs include all XML tag k-v pairs).
* Added Location & Way classification (array of functions to apply).
* Filtered uninteresting things (invisible|unnamed Ways & invisible Locations).
* Switched methods inc. Bounds to using GeoCoord.
* Currently includes cheat LocationProvider.TEMP_LOAD() to force pre-loading (thereby allowing tests and calls to be more synchronous).
* Switched Location.ways from constructor to slightly-obscured setter (not a real JS setter to prevent accidental assignment).
* Added locations to Way (with same getter + obscured setter pattern).
* Added "var that=this;" in many classes; present but disabled in most as reminder.
* Added fake GPS points for use in mocking location in Firefox.  See http://stackoverflow.com/a/1911289 (which still works in FF10 regardless of needing to add the setting manually).
Added POIs and speaking them...
Set initial interest zone as 30m radius.
Added POI class to Location.
Created (dataLoad) MapSegment.getAllFromWithinRadius() and initial pass-through getFromWithinRadius() that needs de-duping code adding.
Switched GeoCodeCalc.toClock() from "o clock" to "o'clock" and fixed "0 o'clock" to "12 o'clock".
Refactored perUpdate results reporting to user out and added POI speaking.
Removed redundant perUpdate.ttsSuccess|Fail() methods.
Plan updated with next steps (de-dup work).
Improved output text; Removed duplication; Improved OO; Refactored...
Refactored location classes into separate files (from rnib-location.js into location/*).  Created Location, Way, Place, POI, Address and FindResults classes/files.
Improved OO for distance checking so classes Location and Way answer "closest to point" question.
Reformatted output text (i.e. speech) to be more natural.
Introduced FindResults (rather than attaching POIs to Locations) including ability to remove closestPlace from POIs (by...)
Added equals() method to Location and Way and poiPlaceMatches() that uses those to POI (& mock-based tests for all).
Corrected GeoCodeCalc.toClock() to allow +/- 15 degrees (rather than everything within hour).
Tweaked tests' use of asynchronicity to be deterministic (switched from one waitsFor() to each using whenLoadedIt()).