ports: store actual connpolicy object instead of default in input ports

This is a minor refactoring to allow to pass on the
conn policy used at the input port level.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
types: regroup the TypeInfo headers to reduce dependencies.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
Signed-off-by: Ruben Smits <ruben.smits@intermodalics.eu>