Merge branch 'master' of https://github.com/pioneerspacesim/pioneer into JustLookingAgain

Conflicts:
	win32/vc2012/pioneer.vcxproj.filters
Improve the portability, i.e. make compile on linux.
Also hopefully reduce type conversion warnings... hopefully.
Update VS2010
update changelog
Merge branch 'threaded-terrain' of https://github.com/robn/pioneer into JustLookingAgain

Conflicts:
	win32/vc2012/pioneer.vcxproj.filters
Don't reduce the number of threads by 1.
Doesn't seem to impact negatively on performance even on my dual-core laptop but does improve terrain generation speed.
Initial tidying up before trying to reimplement JobSwarm using SDL threads.
Add DerpyHooves to AUTHORS
Remove the m_kidsLock mutex from each patch since updating and rendering now happen from the same thread.
Also re-issue the cancel all jobs call when changing detail level in the wait loop.
Added some logging and errors/warnings.
Also removed the numDockingPorts from the Lua and instead calculate it from the number of docking bays actually defined.
clean up station docking stage/docking node checks
Merge branch 'BetterStationLogging'
Most functions, classes, methods etc switched to using SDL_wtfever functions for threads, mutex and others. Some stuff deleted as superfluous.
Tested and still working far as I can see.
Update to latest version of JobSwarm from TestHACD project.
Avoid virtual setters during Load/initialisation. Fixes #2221.

Load/Init should only be setting up state, whereas virtual setters are
often overriden in derived classes to trigger things on particular state
changes (e.g., put a message in the ship console when the ship alert state
changes). Load/Init is not a state change, because there's no (valid)
previous state.
Merge pull request #2223 from johnbartholomew/issue-2221

Avoid virtual setters during Load/initialisation
set ship type through SetShipId to include property update

fixes #2225
Merge remote-tracking branch 'johnbartholomew/issue-2225'
Merge branch 'master' into threaded-terrain
update autotools build for SDL version