wmllint: fix bugs with ifdef_stack

This section assumed that "#ifdef" and "#endif" would come at the very start of a line. When an author would indent the #ifdef but not the #endif, ifdef_stack.pop() would kill the starting value of None, leaving an empty list. wmllint would then crash:

  File "wmllint", line 1138, in global_sanity_check
    recruit[ifdef_stack[-1]] = (i+1, map(lambda x: x.strip(), value.split(",")))

IndexError: list index out of range

Stripping the line not only stops the crashes, but allows wmllint to pick up #ifdefs that it wasn't before.

I then looked more closely at the pop(). #endif shouldn't just drop the last value in the stack, but reset the whole stack back to None. I realized that pop() was leading to wmllint occasionally assigning recruitment that wasn't inside an #ifdef to values from earlier #ifdef stacks, e.g.:

>>  starting value: [None]
#ifdef EASY  >>  [None, 'EASY']
..
#else  >>  [None, 'EASY', '!EASY']
..
#endif  >>  pop(): [None, 'EASY']
..
recruit=  >>  ifdef_stack[-1]: EASY
Update wmllint

replace tab with spaces in just-now commit
added information about single hits in simulate_combat
correction of a comment
Revert "correction of a comment"

This reverts commit 2ba997de09c2061a87eeec11a6790a8a62af51ed.
correction of a comment
Merge pull request #36 from gfgtdf/master

added information about single hits in simulate_combat
Add support for title attribute and some code cleanups.
lifted parse_team_overlays from game_display to display.

This is part of makeing [item] and other overlays work in the editor.
Fix clearing the file handle at the wrong location.
LoW 3,7,10 map updates.
LoW 1: Start gold adjusted.
LoW 4: Loyal units for Cleodil.
LoW 7: Fix side setup. Disable AI controller.
Place not only image [item]s but also halo= ones.
Display the halo in the editor item palette if no image provided.
Grouped the map generators into a folder and added the yamg.
Fix compilation