Reduce synchronization overhead in hk2-locator Utilities

This is a suggested fix to a issue created against Jersey: https://java.net/jira/browse/JERSEY-2633. It replaces two synchronized blocks in the Utilities class with a ThreadLocal cache.