Extract GetAppId out of events package

Does not combine generated and nongenerated code in one package anymore.

Signed-off-by: John Tuley <jtuley@pivotal.io>
Fix missing package in tests

Signed-off-by: John Tuley <jtuley@pivotal.io>