Fix #1309 master

Add .gitignore to master
https://github.com/mybb/mybb/issues/1309
Merge pull request #1311 from Destroy666x/addgitignorem

Fix #1309 master