Added support for parameterized roles, more robust.
- Now supports parameterized roles, like I found in the mysql sample  role.
- Now does not crash if a file has a .yml extension but is not a YAML file; edits it as a "any" file instead.