Add persistent cookiejar

Add a persistent cookiejar in case you want to reuse your cookies the next time you run the program. By default the PersistentCookieJar isn't used (in line with the current behaviour).