Use a hash for lock names
Use a hash for lock names

Some tooz drivers do not support long lock names. For example, mysql locks must
be 64 characters at most. This hashes the lock name in order to fix the lock
name length.

Change-Id: I5f058ea1197f5c2ba062a9bc0b67c509c8252852

openstack/cloudkitty,stackforge/cloudkitty,openstack/cloudkitty,stackforge/cloudkitty