Add servlet.cookies and servlet.event-listeners sample

[servlet.cookies] working copy
[servlet.event-listeners] working copy
Updates to .gitignore