regex fix and pythonic

Fix a regex matching bug when svn author is an e-mail address

Be pythonic!
Iterator instead of C-style looped readline()
String slicing instead of string.startswith() method
Multple assignment in one statement
Use 'in' instead of 'in keys()', etc. 

PEP8-ize