Added tox.ini.
Get assertRaises to work for py26.
Make tests pass in Python 3.1, 3.2, and 3.3.

* When reading pkg_data, it returns bytes, so must decode as utf-8".
* In tests, open files as text files, not binary.