Make the default expiration time configurable and always set an expiration time even if no cookie is present.
Updates to the patch for setting a default expiration in cases where session cookies do not exist. The tests have also been revamped to match latest code updates.
Merge pull request #61 from snegrea/master

Configurable Default Expiration Time
Merge remote-tracking branch 'upstream/master'