Make partial mocks thread safe

Partial mocks use a shared table. Without this patch, concurrent accesses to
the shared table will cause crashes.
Merge branch 'thread-safe-partial-mocks'
Merge pull request #32 from socialize/thread-safe-partial-mocks

Make partial mocks thread safe
Merge branch 'master' of git://github.com/erikdoe/ocmock