Made const functions of AssociationVector thread safe

The AssociationVector uses a cache, transientVector_. The management of that cache is now thread safe if multiple threads call const functions simultaneously.