ServiceWorker: Add check for id overlap between pushed and deleted resources
Currently resource sharing across versions and registrations is not supported,
so resource ids should not be overlapped between a new registration and an old
registration on WriteRegistration().
This change adds a check to make sure it.
BUG=n/a
TEST=content_unittests --gtest_filter=ServiceWorkerDatabaseTest.*
Review URL: https://codereview.chromium.org/
302623002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272912 0039d316-1c4b-4281-b951-d872f2087c98