Handle enums as template arguments in the clang frontend

The gccxml frontend is broken on the now expanded unit tests.  I also
haven't yet checked if the cython backend supports this functionality.

libclang synced from https://github.com/xdress/clang/commit/9e77c125626db4b1504edffa055e0b4dbbc89715.