Python 2.6 compatibility with chardet.

* Enables autopep8 to function when detect_encoding() isn't available, using chardet.
* Corrects the keyword arguments to work with the available pep8.Checker().