Fix Recent Searches behaviour a bit
Fix Recent Searches behaviour a bit

Always kinda bugged me that this didn't work quite right. Now, a search term is added right away to both local storage and the internal array, so you don't have to refresh the page to get recent searches, they're always up to date. Also, we now add search terms that were typed, not just those that were selected from the live search dropdown.

Brightspace/d2l-my-courses-ui