Switch to using std::sync instead of libsync

libsync has been removed from rust, which means that for sync primitives, std::sync is required. This switches string-cache to using std::sync. 

Unfortunately, this means that string-cache now depends on both std and core. A better patch which doesn't have this problem would probably be a good idea.