Improved language preference

- Set the cookie for the entire site (not just one page at a time)
- Set the cookie from the `lang` query parameter when
  available (improves linkability)