Implements sprite sizes larger than 1x1 tile.

*Reintroduces dimX, dimY and dim command line arguments
*Defines above according to number of tiles per sprite
*Tiles are now written to file clumped by sprite
*Spacing is now defined in terms of sprites rather than tiles. This
should behave exactly as before when dim is undefined