REFACTOR: Remove $.cookie in favor of a local library based on it (PR #10548)

This helps us out in a few ways:

  1. It lessens our reliance on jQuery
  2. It’s slightly less code because it omits options we don’t use
  3. It is one less library to import and put into ES6 modules

GitHub