Format to follow PEP 8
Add "--repo-token" for consistency

Leave the old one for backward compatibility.
Use relative imports
Allow specifying encoding from command line

This fixes #6. In the specific case mentioned in #6, the fix would be to
make use of the new option "--encoding=latin-1".
Merge pull request #17 from myint/encoding

Allow specifying encoding from command line