Typed enums

This adds the ability to specify enums with types other than INT.

The second commit just updates the specs so they run again. That commit didn't make it up from 1.7 somehow.

This same feature is ready to go for the C version of FFI. I just wanted to get it into jruby as well before releasing it.