Ticket #302 - use thread local storage for internalModifiersName & internalCreatorsName
Bug Description: use thread local storage for internalModifiersName & internalCreatorsName
Fix description: Created new thread local storage slapi functions for initializing, setting/getting
thread local storage data in a new file thread_data.c. This was built on
top of some of the changes for ticket 111.
We create the index in main.c right before we start the plugins and worker threads.
Then we set the bind dn in bind_credentials_set_nolock(), nad we also set the
thread data when we copy the operation in op_copy_indentity so can maintian the
bind dn through different threads from the same connection.
For plugins that create new threads we need to pass the new thread the bind dn(char *),
and then set the thread data(slapi_td_set_dn()).