v1.0.2 (add base exception with python 2 and 3 unicode support, minor code style fixes