Add conversion function from QColor to ManagedColor
A static member function, ManagedColor::fromQColor(), is added to
provide support of QColor-to-ManagedColor conversion in Python scripts.
The conversion is only an approximation. This commit includes addition to
the the Python API.