Resource Refactoring + Autotile Format

A decent sized refactoring to improve the resource system's cleanliness,
and the addition of the new Autotile Format resource that makes it easy
to define new auto tile types.