Single commit back-port of Salwans 3D Cockpit feature from Paragon.
Set the Wave to use the "cockpit" model - which I'm adding as a mod currently.
Have it try to set the cockpit when a ship is initialised rather than on construction so that it works when the ship is changed by buying/selling or through scripts.
Fix a bunch of line endings.
Commented on the distinction between rendering everything before and after a certain point.
Should probably rewrite some of this and have distinct phases in the rendering like a proper game would!
Remove the offset as I no longer need it.
Merged across Salwans latest updates, adds  lag to the movement of the cockpit when maneuvering or accelerating.
Merge branch 'master' of https://github.com/pioneerspacesim/pioneer into cockpit3d

Conflicts:
	src/ShipType.cpp
Correct the exclusion options.
Also remove the 3D Gui disabling.
Remove the cockpit from the wave model since we don't yet have one other than via nomajners mod.
Only pick the cockpit camera if there is a valid cockpit set.
Remove a rogue pragma optimize
Merge branch 'master' of https://github.com/pioneerspacesim/pioneer into cockpit3d
Merge remote-tracking branch 'fluffyfreak/cockpit3d' into cockpit3d
fix build and warnings on linux
update for pioneer code standards
destroy existing cockpit on ship change
handle fallback to default cockpit if available
use our standard easing equations

not quite sure why a separate set are needed
remove the unused easing variations
remove unnecessary casts
remove separate cockpit camera
cockpit option. not hooked up yet
move cockpit hooks to Player

its not the right place either, but its more sane than Ship. NPCs do not need a cockpit