HOTFIX: accidental tab caused indent error
added tests for handlers
consistent file object check
removed unused imports
removed unused imports
Merge pull request #246 from ebolyen/master

URGENT HOTFIX: accidental tab caused indent error
Merge branch 'master' of github.com:bipy/pyqi into py33
py3 fix for stringio
type name fix
py3 fix