Fix creation of instruments from GUI

Since Python 2.6, inspect.getargspec returns a NamedTuple and no more a simple tuple

Adapt the code to handle new behaviour and thus fix creation of new instruments from GUI