Reusable module for cookie management in Firefox SDK (Jetpack).