Add support for a value type in the AST and make it possible to specify value for a field.

I use this in the WIP C-mode generation to generate const/static fields in classes, as an alternative to uplifting macro definitions to enums (which is not always applicable/possible).
RFC, I'm not sure this is the best way to do this.