First changed tests due to new gopkg.in/yaml.v1 version.
Merge branch 'master' of https://github.com/juju-actions/juju into fix-yaml-v1-tests
Merge branch 'master' of https://github.com/juju-actions/juju into fix-yaml-v1-tests
Split into text, YAML and JSON tests and used the new checkers.
Merge branch 'master' of https://github.com/juju/juju into fix-yaml-v1-tests
Fixed newline in test data.
Merged master and changed PR after initial reviews.
Merged master, resolved conflict, and changed relation test after review.
Fixed missing go fmt.
Merge pull request #1313 from TheMue/fix-yaml-v1-tests

Fix yaml.v1 dependant tests

The latest changes of yaml.v1 make some tests using string comparison fail. Those have been replaced with the usage of YAMLEqual of github.com/juju/testing/checkers.

(Review request: http://reviews.vapour.ws/r/629/)