BLOCKER: Investigation type and ebi per preprocessed

This adds the possibility of setting investigation types and then submitting those to ebi.
Note, that I'm following how this section was written in the past, before you added that code. Do you want me to fix all these occurrences or will it be better to add an issue and solve when we are not so close to deadlines? BTW I say this cause I do not see this as a blocker for having a working system.