Moved cookiejar session feature into own file (#79).
Removed no more needed session.c.

The two remaining function are moved into main.c.