move 'dirty' flag for Tilemap to a per-layer flag. Fixes #242
Merge pull request #243 from jcd-as/dev

move 'dirty' flag for Tilemap to a per-layer flag. Fixes #242