Misc fix

Miscellaneous fixes including:

* Moving the proxies() function to config.py
* Fixing the assignment of success in delete_repos()
* Adding bytestring compatibility for repos in update_news()
* Moving the EPREFIX constant to the top of config.py