add support for reading foreground and background, and colors, from xresources.py many thanks to @Aliuakbar for the addition! fixes #731