update test to work fine
use yaml.safeLoad and support js-yaml options

https://github.com/nodeca/js-yaml#safeload-string---options-
remove unnecessary bower.json
Merge pull request #1 from shinnn/master

Support js-yaml options