rm redundant imports
fix more imports related to tulip.transys
import StringIO from io instead of cStringIO, for python 3 compatibility