WIP: Properly handle config value comparisons.

Fixes https://bugs.launchpad.net/juju-gui/+bug/1371789 - since boolean configs weren't being converted to strings before being compared, we had true == 'true', which returns false. Consequently all boolean fields were getting marked as changed, dirty fields.