Fix scripted field types

Field types are now defined as kibana field types, so they appear correctly in the agg builder.

Also made all form fields required