Remove reference color data comment in the posix console backend.
Remove unused imports in posix backend.
Fix python3 compatibility within console package.