weird fixes for gcc compat
Merge branch 'master' of https://github.com/gecube/opencaesar3 into vs2008-added
Merge with mainrep. MarketBuyer::maxDistance move to impl.