New localization code.

We are now returning LocalizedText instead of plain std::wstring. LocalizedText
understands how to replace markers with arguments, although no one is using it
yet.
Added State::tr helper functions.

Added overloaded translation functions State::tr().
Use the plural code for STR_DAY.

This is actually the only obvious place where we had this distinction.
L10N: STR_NOT_ENOUGH_ammotype_TO_ARM_HWP

Instead of making the sentence out of parts, allow translators to translate the
whole message.
Better language files.

- Moved new / changed strings at the end, for easy review.
- Added third forms for Czech, Polish, Romanian and Russian. It's probably
  wrong, but it shows we support it.
L10N: Hungarian language rules added.

Easy enough, everything is the same!
Also changed some text now that it's the full sentence.
Nicer Language::loadLng().

Take advantage of std::getline() and exceptions, to rewrite the function for
speed AND readability.
Added tr() function to Globe.
code clean
math correction.

with thanks to Volutar for pointing this one out.
Latitude should be bound between Pi/2 and -Pi/2 not Pi and -Pi
Merge pull request #246 from xanscale/master

code clean
Update to 0.5.0
Fix Alien Base detection.
Fix Terrorist type 2 always scouting

by giving them some actual nodes.
fix for reaper range checking.
Force correct palette in newManufactureState
fix weapon toggling while vieing UFO.
fix for bullet visibility
Merge branch 'Bugfixing'
- Fixed large units spawn in walls.
- Fixed Civilian rescue score.