Converted the pystarlib imports to be both Python 2 and 3 compatible.
Authored by: bugman 2012-09-28
Parent: [r186]
Child: [r188]