Extract GetAppId out of events package

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

Signed-off-by: Mike Gehard <mgehard@pivotal.io>