Merge pull request #1018 from ahocevar/tilemanager-image-only

UTFGrid examples broken because of TileManager. r=@bartvde
Merge pull request #1019 from ahocevar/chrome-optimized

Deal with recent Chrome optimizations to avoid failing TileManager and tests