fix(ngCookie): log warning when attempting to store a non-string value

Previously, non-string values stored in $cookies would be removed, without warning the user, and
causing difficulty debugging. Now, a warning is emitted, so that there is some idea of where the
error is occurring.

Closes #6151