util.pubsub: Modify new() to take a config, and add a default config via a metatable