Properly handle entries moving between shared and standalone. …
We also switch the boolean from 'in_shared_cache' to 'standalone', since the latter is a bit shorter. Differential Revision: https://phabricator.services.mozilla.com/D10678