Use C-based YAML parser when available

Taken from the top of http://pyyaml.org/wiki/PyYAMLDocumentation

Seems to be about 10× faster.