new pubsub to match tests
update browser streaming xhr and test to use new eventBus
convert existing src to use new style of event bus
make incrementalContentBuilder follow new API and update tests to match
refactor to not have to look up emit function each time
update code and tests to match new events code
look up single events earlier
fix bug in pattern adaptor
add more tests for pattern adaptor
bring instanceApi up to date with new events
extract spiedPubSub out to own file
use a spied bus as per new events API
bring test up to date with new API