Refactoring, Navmode & preparations for Waypoints

In preparation of my enhancement of #22, I've spent a little time with [aircraft.js](https://github.com/zlsa/atc/blob/gh-pages/assets/scripts/aircraft.js). Hope you  like the changes, especially the documentation added in 52760f4.