Always use numerical level values when setting the log levels (otherwise the logging system is broken in Python 2.6). Closes #57
Merge remote-tracking branch 'origin/master' into language_rewrite