Add travis-ci configuration
Add safe_yaml gem dependency

* Change code to use YAML.safe_load_file