Added the yield method on Threads

This call is allways a problem because it is nonstandard. It is included
for completion but it should not be used.

TAKE A LOOK DOCUMENTATION!
Added attributes for threads

The Thread::Attributes internal class represents the attributes of a
thread. I have implemented the main features to link with the Thread
class.

The next methods of this class are going to be test-driven! ;)