Migrated codec checkers for JSON and YAML.
Moved codec checkers into own file, changed them to accept string instead of []byte, and added tests.
Merge branch 'master' of https://github.com/juju/testing into codec-checkers
Merge pull request #39 from juju/codec-checkers

Migrated codec checkers for JSON and YAML.