test/matchers: add two goog.requires to unbreak compilation.
platform/html5: use goog.promise.Resolver convenience interface where useful.
Makefile+test: workaround for mysterious unhandled Promise rejections.