Varios Python 3.x compat fixes

imports need to be absolute now, so prepend the
trolly. path everywhere