Handle 'category' as part of contextActivities

Addition was in 1.0.0 but never got around to it. Fixes #59. Nothing here that should tread on the browser compatibility so only tested in Chrome and node.