BibUpload: linting

Pep8 and other linting in bibupload.py