Rename module, directory and filename to follow CONTRIBUTING.md
Add type description for cookie.js
Updated type definitions to rename module and handle function overloading types.
Tests.
Updated contributors file.