Added XP table support in the creatures.cfg file.

Final part and fixes #152 Whoo!
Check better for invalid XP return values.

Based on @hwoarangmy's input on this.
Small stats refreshing fix.

+ small code cleanup while seeing it.
Merge pull request #256 from Bertram25/new_parser

Added XP table support in the creatures.cfg file.