Add tox.ini
tox.ini: Add default option --tb=short

for shorter tracebacks
tox.ini: Include unittest2 for Python 2.6
tox.ini: Set TWIGGY_UNDER_TEST

Fixes "RuntimeError: Attempted to populate globals twice" errors
Fix test failures in tests/test_logging_compat.py

Was failing with "ImportError: cannot import name log"

because tox.ini now sets TWIGGY_UNDER_TEST

This works around that by adding setup_module and teardown_module
functions which _populate_globals and _del_globals respectively and
moving imports into test methods where they're used.
tox.ini: Don't run py.test with -v so that output is shorter
tests/test_message.py: Fix pypy test failures

Fix pypy test failures caused by fact that error message for
ZeroDivisionError in pypy is slightly different from one in CPython
Add .travis.yml
.travis.yml: Install unittest2 for Python 2.6
Make relative imports explicit for Py3 compat
Update print statements for Python 3
twiggy/logger.py: Use Exception instead of StandardError, for py3 compat
Add and use twiggy.compat for Py3 compat
Looser match strings in error messages

They're slightly different in Python 3
FileOutputTestCase.make_output: Set buffering=1

prevents "ValueError: can't have unbuffered text I/O" error and tests
that seem to hang if you're capturing output
tox.ini: Add py33 to envlist
.travis.yml: Add 3.3
Merge pull request #33 from msabramo/tox

Add tox.ini for tox and .travis.yml for Travis CI
Merge pull request #34 from msabramo/py3

Add support for Python 3