Move service worker dataset context to a common space, to be used by notifications

Build: https://builds.cask.co/browse/CDAP-DUT353-1
Just say `return (T) dataset;`