fix initialize default values with a multipicklist
Some refactory.
Clean trailing whitespace.
Merge branch 'fix_default_values_on_multipicklists'