Adds serialization to models.

Doesn't deal with tileset images yet.
Adds app delegate to prevent new "Untitled" docs.

Also a "Controllers" folder and moves document and delegate there.