Start ep now an argument of max-ep

Syntax is `<max-ep value="500" start-value="250" />`
Implemented start percentage for EP

Note that start-value and start-percentage (both are attributes of the
max-ep tag) are mutually exclusive. If they both exist, then
start-percentage is used.
Error checking now active for start-ep

You can no longer have both start-value and start-percentage.
Implemented starting value for HP

Same syntax as for EP:

    <max-hp value="1000" regeneration="1" start-percentage="1.0" />

Where `start-percentage` can be replaced by `start-value` to use an
absolute number. Note that unlike EP, HP defaults to the max-hp value
*before* upgrades are applied. This behavior is not changed. To make units
spawn with their fully upgraded HP, set their start-percentage to 1.0.
First, basic looting implementation

Only absolute values are obtained for now, no loss.
Implemented rest of resource amount/loss attrs
Added setting to disable going into negatives

After all, how does one loot what the other faction does not have? Still,
could be useful for some places, by forcing the opponent to go into
"debt".
No looting if you attack units in same faction
Lootable resources now checks for dups
Fixed compilation error

Failed to override ==
Fixing platform inconsistency

It appears that the issue is a Windows problem, with Windows providing
macros for min and max that interfere with using the proper ones defined
in the algorithm header file.
Converted percentages to use int instead of float

May help prevent floating point calculation errors in multiplayer.
Merge branch 'feature-starting-vals' into feature-looting
Converted floats to ints

As discussed with Titi, this may prevent some issues with multiplayer
getting out of sync due to different floating point calculations.
Percentages were wrong way around
Merge remote-tracking branch 'origin/pr/17' into pullrequest17
Renamed loss-percentage to faction-loss-percentage

Also renamed loss-value accordingly. As discussed with Titi in IRC.
Merge remote-tracking branch 'origin/pr/17' into pullrequest17
Fixed bad names
Merge remote-tracking branch 'origin/pr/17' into pullrequest17