Added basic documentation for setLocaleFromCookie() and variable name normalization

Not sure if the change from `cookiename` to `cookieName` is considered a breaking change since the feature wasn't documented. Let me know what you think.