[backend][assetmodel] Add defaultFormat method

This method simplify the code to retrive the format
to put as default value when, for example, creating
a new input or output for an algorithm as well as
values for tests.
4 jobs for 246_fix_dataformat_list_for_protocol_templates in 11 minutes and 51 seconds
Status Job ID Name Coverage
  Build
passed #205911
docker
build_linux_36

00:11:44

91.0%
passed #205912
docker
build_linux_37

00:11:30

91.0%
passed #205909
macosx
build_macosx_36

00:10:32

91.0%
passed #205910
macosx
build_macosx_37

00:10:08

91.0%