prepare for python 3 and add unicode support to principals.
Merge pull request #13 from russjancewicz/jancewicz

prepare for python 3 and add unicode support to principals.