Remove <cassert> include from TileMap.cpp
Clean up a bit
Format with astyle
Make drawGridForLayer parameter unsigned

Rationale:

The value would be converted into an unsigned value anyway when comparing,
and this avoids warnings.