This adds error reporting to loading/saving configurations.

It also adds support for reading/writing VPN configs, and fixes a
bunch of bugs.

BUG=none
TEST=ran in browser.

Change-Id: Ife9d532af38e2586cebd6bae4e897ecaabdef423
3 files changed