Optimize .gitignore for WINDOWS, MAC OSX systems and local scripts

All taken from the repo at: https://github.com/github/gitignore by Github

Signed-off-by: Alex Naidis <alexnai00@gmail.com>