registering shutdown functions earlier
Disable deep memory check for thread_data
Renaming test
Fixed #996: Memory leak in hpx::lcos::promise