Tweaks to gitignore based on new or moved extension modules.
Added check for backwards compatibility with 2.6 unittest.