add pi_lua_generic_push/pull overloads for unsigned int
fix LuaSignalTrampoline so it doesn't need so many specialisations
explicitly take const references in the LuaSignalTrampoline
Merge remote-tracking branch 'upstream/master' into osx
Xcode project file update with the latest changes
Merge pull request #1652 from Philbywhizz/osx

OSX: XCode project update
Some Refactoring of Faction::GetNearestFactionIndex

Work for #1641
Move of the bulk of the work for non-custom systems from the class method
to an instance method.
Class method now iterates using an iterator.
Have the class method call the instance method on the currently iterated
faction to test whether it's a better fit.
VS2012 Build updates 2012-10-31
Merge pull request #1653 from skapusniak/build/vs2012

VS2012 Build updates 2012-10-31
Merge branch 'build/vs2012' into perf/faction-colour
Add the math.clamp function to the module libraries and use it in Ship:Refuel
Update data/lang/Spanish.txt
Merge remote-tracking branch 'johnbartholomew/new-ui-signal-trampoline'
Merge remote-tracking branch 'origin/master' into new-model

Conflicts:
	src/ShipSpinnerWidget.cpp
	win32/vc2010/modelviewer.vcxproj.filters
	win32/vc2010/ui/ui.vcxproj.filters
Merge remote-tracking branch 'gudadantza/patch-27'
N_WHATEVER_RADII
Update data/lang/Spanish.txt
factionColour retrievable in SectorView without full sysgen

Work for #1641
Added Faction::GetNearestFactionColour class method.
Added Sector::ColourFactions method that populates a sector's
system with the correct base factionColour.
Setting of factionColour in SectorView::Draw3d removed.
Added call to populate factionColour for full sector to
SectorView::GetCache when a new sector is added to the cache.
Add some constants and use them

BAD_FACTION_COLOUR - the colour for system we found no faction for
FACTION_BASE_ALPHA - the alpha for faction systems where we don't know the population yet
Switch to checking population to get if a system in inhabited

Work for #1641
We need to know if a system is inhabited to mark uninhabited systems as not
part of a faction on the map.
Unfortunately there's no way to determine this without a full sysgen, so
we might as well switch to using population rather than count of starports
to check this and save ourselves a bunch of messy flag twiddling code.