Some bug fixes

Out of the box, this thing didn't run for me, so I tweaked things to get it running. I also added code so that .nodewar will get created if it doesn't exist and so that .nodewar gets overwritten rather than appended to if you authenticate again.

Thanks for the tools btw. I saw this on HN and was happy because this will help streamline things so I can do nodewar development in Sublime rather than their online editor. I haven't ever played with grunt so I'll have to try it out.