Move atdgen code to gen/

Signed-off-by: John Else <john.else@citrix.com>
Add atdgen-generated code to the build

Signed-off-by: John Else <john.else@citrix.com>