Make model.py less X86-specific

Capstone 3.0 has been released & introduced some generic operand types & groups. This patch takes advantages of these new features to make "model.py" less X86-specific.