Added YAML support

Overloads for .yml support
Removed Rails-specific checks
Incorporated pull request from https://github.com/abachman