Add netbeans project files in .gitignore
Replace smartyPants to smartypants to remove deprecated warning
Make compatible with Python 3

Thanks to:
- 2to3 program
- Python doc
- Stackoverflow