Update tls_ptr

tls_ptr在退出时会主动调用一次清理
Add some C++ 11 features support

+ 添加std::array的支持
= noexcept放入bugfix
Update bugfix

= assert_context从std::exception继承
Update stream
Add memory leaks detection