Added support for cookies

Params can now be cookies in both scalatra and servlet