added XGetClassHint

Adds XGetClassHint and the accompanying XClassHint struct.