1:1 conversion for pics.
Add "norepeat" and "arrange" image attributes.

Eliminates repeated tiles and also spits out a tilemap respectively.

One-way for now. Likely to be used in pokered, but useful in its own right.
gfx: Don't pad images smaller than a tile.

Also fix a bug where images smaller than a tile are not converted at all.