Merge pull request #85 from clintbellanger/master

merge from main project
Currency as a stackable item

This sets currency to a set id (I picked 10, as it doesn't conflict with
current flare-game data). There's still refactoring that can be done
where currency functionality was different from normal items, but this
works as-is.
Better summon limit checking

player unable to use summon power if limit is hit. spawning enemies also
respect the summon limit
Move manager classes to shared game resources
Remove unnecessary references
remove unnecessary includes
Cleanup old currency-specific code in LootManager

This commit obsoletes the currency sfx and currency_range settings in
engine/loot.txt. Instead, currency loot now uses data from its item
definition.

This has the added bonus of being able to define quantity
ranges for other types of loot. For example, a single potion vs a bag of
potions.
Move currency_id setting to engine/misc.txt
Add backwards-compatible support for currency key in save files
Remove global PowerManager
MenuStatBar: deal with large numbers as stats.
Hero experience is an unsigned long integer.

It makes no sense to have negative experience, does it?
Also people gain lot of it, so have a very large upper bound, hence the
long data type.
Merge pull request #697 from stefanbeller/longintexperience

Hero experience is an unsigned long integer.
Merge pull request #696 from stefanbeller/menustatbar_large_number

MenuStatBar: deal with large numbers as stats.
Fix bar_length being depending on orientation.
Merge pull request #698 from stefanbeller/menustatbar_large_number_fix

Fix bar_length being depending on orientation.
Merge remote-tracking branch 'upstream/master' into currency
Fixed a bug in SoundManager.
Looping sounds should be paused when out of hearing range to
save some CPU cycles in the mixing code. The check for distance
was wrong and this fixes the issue.
Merge pull request #700 from hean01/master

Fixes bug in SoundManager
Fixes correct escaping of % sign for translation.