100% test coverage for Snap.Internal.Types.

Note that there's a new FIXME in here to move the cookie rendering code from
snap-server to fixupResponse in snap-core.