Preliminary fix for MCA #181

Add locking around set to prevent concurrent writes
Complete fix for MCA #181

Add locking around remove/clear to prevent concurrent writes across set/remove/clear calls
Add missing change to fix compile error
Add test for MCA #181 for concurrent set calls
Merge branch 'master' into MCAIssue181
Acquire lock around reads to chrome.storage as well