Allow enum types to be used as method parameters.

Previously, any method that accepted enum types as arguments would
not be wrapped.  This change allows those methods to be wrapped by
using a static_cast to convert the wrapper languages "integer" type
to the required enum type.

Change-Id: Ifa3105f2f70cdaba413e047f244cf871a30afc3d
Merge topic 'tcl-java-enum' into master

1bb3de05 Allow enum types to be used as method parameters.