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