Core: make ClientState accessors fail fast (#639).

ClientState has a method to check if a certain cookie exists:
{{{
boolean has(String name)
}}}

BREAKING CHANGES

The get() and getLong() accessors throw an exception if no such cookie exists.

See #639.