Fix connection model handling
The model used to check for block connection validity was not taking into account the case of a brand new experiment which is essentially empty. This would result in an error when retrieving the data format associated with an input or output.
The model was also not loaded when creating a new experiment. That is fixed as well.
Relevant issue(s) fixed
Fixes #268 (closed)