#28 typeahead for scope on ld edit page, also start refactoring typeahead into common service