Merge pull request #15 from stoutbeard/deployscript

Update Deployscript, fix tabs and parameter names
Bugfix: Close filese after reading

We had a pretty major resource leak in which we never close the files we open. This fixes that.
disable forceSquare when rendering images
fix bug in ImageRenderer
Flesh out WMTS code. This does not work yet. WIP

I'm submitting this since it's the end of the course period. This is
unfinished work.