Bug #2949: Make Intermediate Cert Store memory-only.

This patch makes the intermediate SSL cert store exist in memory only.

The pref must be set before startup in prefs.js.
https://trac.torproject.org/projects/tor/ticket/2949
TB1: Add a string-based cacheKey.

Used for isolating cache according to same-origin policy.