Add foreign_enum.

As a note, nothing here is "working" yet, want to make sure I've got a
worthwhile imitation of the API.