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>