refs #7904 - add autocomplete support for nutupane

by default nutupane will use autocomplete from the resource
if it provides an autocomplete function.  Otherwise it will use a
fetchAutocomplete function that can be added to the nutupane.table
within the desired controller
`} else {` to prevent automatic semicolon insertion.