Tweaked .gitignore, added fix for issue 279

Wasn't thinking when I added the .gitignore changes to this commit.  But the change to the other file fixes https://code.google.com/p/aseprite/issues/detail?id=279 by simply calling setActiveView(NULL) which, which already handles this scenario.