cookie middleware added
tutorial changes
only sets cookie if changed or not there
Merge pull request #1704 from digi604/cookie-middleware

language cookie middleware added