Add --version option

Implementation shamelessly ripped from the pep8 project.