Replaced the override of the basestring and unicode constants with upper case constants
Finished docstrings for exceptions.py (pylint is now happy)
Updated docstrings for writer.py