Added helper to make SelectList from enums.

DictionaryInjection: now handles serialized arrays.