Merge pull request #73 from clintbellanger/master

merge from main project
Add configuration for death penalties

Closes #493

This includes:
* turning off death penalties all together
* forcing permadeath for all new characters
* removing a percentage of currency
* removing a percentage of total XP or a percentage of XP since the last
level up
* removing a random equipped/carried item

A note about removing XP. This commit does not support down-leveling
when removing XP. I figured it would cause issues with unlocked powers
(i.e. how to go about "un-rewarding" power points).
Merge remote-tracking branch 'upstream/master' into death_penalty
Don't remove quest items when removing a random item on death
Fix off-by-one error
Fix player sprite not being updated when losing items
remove redundant casts
simplified avoidance ignore and armour pierce
remove old damage_multiplier
Merge remote-tracking branch 'upstream/master' into death_penalty
Merge pull request #655 from dorkster/death_penalty

Add configuration for death penalties
Merge pull request #657 from RyanDansie/redundant_casts

Simplified avoidance ignore and armour pierce