Fix bugs in tests and in package, so tests pass
Remove pyximport (extension should be compiled with setup.py)
Add .gitignore