fixed how input format is read from xml by loadModule()
fixed how output format is read from xml by loadModule()
added formatType to inputs in loadModule()
added formatType to outputs in loadModule() and cleaned same in inputs
added formatType to moduleInput() and moduleOutput() functions for creating new modules
added formateType to inputs in saveModule()
added formateType to outputs in saveModule()