No need of double isinstance(), basestring to the rescue
Adding .gitignore
Pylint cleanup