Add support for marshaling durations.
Fix Setter handling on non-pointer fields.

Fixes #8.
Merge branch 'v1' of github.com:go-yaml/yaml into v1