Removed some unused defines
Added a CSV export plugin

This plugin only exports the first tile layer. Tiles are written out by
their index in the tileset, or by their "name" if this custom property
is set on them. Empty cells are written out as -1.

Closes #277