Enables to use CompositeSpace types as input to a network, or as an outp...

This enables to use CompositeSpace as input/input to networks.

Travis is failing because it should be `data_specs` here