Merge pull request #527 from mc10/cleanup

More strict equality comparison operator fixes, expand .gitignore
Merge branch 'imagefix' of https://github.com/mc10/Reddit-Enhancement-Suite into imagefix