Change usage of local_data_key! to thread_local!
Merge pull request #40 from th0114nd/master

Change usage of local_data_key! to thread_local!