Remember variable type in Add Entry

Store variable types together with their names in the variable completion
list so that the type is automatically recovered when you select a variable.
Merge topic 'var-type-autofill' into next

97451e53 Remember variable type in Add Entry