add base Wikipedia exception class
add method to define proper __str__/__unicode__ methods depending on Python version to base Wikipedia exception class
make minor PEP8 style fixes