Fixing FormField to set "readonly" attribute after setReadonly(true)

Currently setReadonly(true) only sets the readonly property on
FormField, but doesn't set the attribute "readonly" in
FormField::getAttributes().

This makes it work consistently with setDisabled(true) which does set
the attribute correctly.