WL#8161: Locking service for read/write named locks

Affects: Server-5.7   —   Status: Complete

WL#6940 "Server version token and check" requires a way to protect global and
session version token lists. This WL is about providing a locking service for
satisfying this requirement. 

This locking service will be implemented as a set of functions that will
be available through a plugin serice as well as a set of UDFs. Both the
plugin service and the UDFs will be provided by this WL.