Shortened CollisionDetection by moving some repeated code into methods.

The foe will now lose life if the hero jumps on top of it.
Moved some repeated code into methods and added support for key bindings in OptionsState.
Made some small changes in the foe classes.
Added two methods to the Utils class, isMouseInsideImage and isMouseInsideArea.