Allow YAML configuration files (fixes #491)

This switches to using `js-yaml` for parsing configuration files. Since YAML is a superset of JSON, JSON files and YAML files can be parsed using the same command, eliminating the need to look for configuration file signals (such as extension).