Changes for Python3 and Windows

- add .gitignore to ignore generated files
- add PyInit_mydpss() stub function required to compile with Python3
under Windows
- change `==` to is and `!=` to `is not` to mute Python3 warnings