Added cookie manager library.
Added qunit test.