fix #17542 dijit/form/_AutoCompleterMixin crashes if no store and no srcNodeRef is provided

Added a simple check to make sure the srcNodeRef is set before constructing
a data store from options.

Added doh tests to validate the behavior.