Issue #10: Implemented CookieStore for persistant storage of session cookies.

Persistant stoage of cookies are made avaliable through the CookieStore singleton, and changes made to facilitate this transition were made.