Move to new API format for Settings.

refs #2606
- Use new API format when updating settings from the client side
- Add additional test to test new API format
- Adjust functional tests to work with the new format
Merge pull request #2700 from halfdan/settings-api

Move to new API format for Settings.