Improve locking and initialization of primary_keys table
Lock multiple tables in one operation if needed
Bump version
Merge pull request #196 from llh1/57227808_fix_race_conditions_with_mysql_lock

57227808 fix race conditions with mysql lock
manual merge
Merge branch 'development' of github.com:sanger/lims-core into development
Add uuid_resource to ResourceState.

Allows to get the uuid without having to to load it.
Before, even though the UuidResource has been saved or loaded
and so it's already in the cache. Finding it from a Resource required
a load by criteria returning the id. From the  id we could then go to
UuidResource in the cache.
Merge pull request #197 from maxigit/57980394_speed_up_uuid_creation

57980394 speed up uuid creation
Fix failing specs
Merge branch 'development' of github.com:sanger/lims-core into development