ENH: Added backwards compatibility for python 2.6
ENH: Updated gitignore