Previously, enum to int property assignments were considered bindings.
This commit adds support for assigning enum values to int properties
Note that to use an enum in QML, it must have been declared with
Q_ENUMS or otherwise registered as a metatype. Enum values from the
global Qt object are also usable.
Reviewed-by: Michael Brasser <firstname.lastname@example.org>