Tls: Added missing includes.
Tls: Added an extra tag template parameter.

This parameter is used to force the instantiation of a new static
storage if two different TLS objects are created for the same type.
Tls: Added some simple tests.