Added ability to pass option into unstate.
Merge pull request #2105 from arb/clear-cookie-options

Added ability to pass option into unstate.