Fixed the "ret" conflict in the CLI back-end as well.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Fixed the generation of unions by considering all unions non-reference types.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Added a union to the test header to check for compilable generated union wrappers.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>