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".