Using js-yaml's safeLoad for YAML files instead of a simple require.

 Closes #28