fix setting cookie max age
add option for cookie domain
Merge pull request #13 from kcrayon/master

fix cookie options