Added support for YAML.

Bump #10.
Added tests for YAML decoder.

Bump #16.