first parts of support for dropdown plugin config

Graylog2/graylog2-server#210