PkgDB: Store cookies

Store cookies in pickle file if possible.
Merge pull request #9 from tyll/store_cookies

PkgDB: store cookies