refactored xp / gold gain into a function
xpEvent works after refactoring
events should be fully functional after refactoring. closes #324
Merge pull request #558 from IdleLands/idlelands-324

refactoring EventHandler