Merge pull request #87 from OpenTreeOfLife/lock-study-index-on-ingest-exception

this update of _study2shard_map should have had the mutex
Merge branch 'master' into lookup-deleted-ids