Some fixes to make dependencies & versioning work properly

Also, adding a more comprehensive gitignore.
This is fixed in 3.0.0