'Insert parens' option + respect insert matching

This adds a UI pref controlling whether we insert parentheses following a function completion, and also ensures that the insertion behaviour respects the 'insert matching' pref for R and C++ modes.