serialization: automaticly add Serializable to auto_serializable classes

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
serialization: correctly detect generic types

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
serialization: move type_name to AType and apply recursively

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
serialization: use a post model phase to set expected attributes type

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
model: silence warnings on multiple declaration of superclasses from artifical code

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
test: update serialization tests use of attributes and super class declaration

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>