Add event feature to the new API with tests.

Please review the work in this PR first: https://github.com/orchestrate-io/orchestrate-java-client/pull/31

@housejester ping :smiley: