Moved Add Config Option modal to tray

This also fixes a few things.
- validation is cleaned up a bit
- the typeahead option now properly works again for sections.

Closes COUCHDB-2443
is there a reason for passing the event to another handler which increases coupling?