Actually stream events in EventBusResource.

I have no idea how to stub method that accepts block and defer testing
it.
Make pubsub compatible with non-string messages.
Move helper class to support file.
Serialize events for event bus resource.
Ease manual testing with env variable.
Add missing spec for application.

This fixes problem with unknown build_executor.