test/cluda/struct: added a test for structural typing behaviour
cluda/dtypes: modified the structure module building algorithm to reuse modules for nested structures