Fixed the generation of copy ctors when mutiple inheritance is involved.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #332 from ddobrev/master

Fixed the generation of copy ctors when mutiple inheritance is involved