update snap.js to v2.0.0-rc1

fixes https://github.com/owncloud/core/issues/9289

@jancborchardt @brantje @PVince81 @karlitschek