Update js-yaml to version 2. Closes gh-683.

* I've been assured there are no breaking changes. God help me (and I'm super sorry) if that's bullshit.