Add compatibility Thread, Queue and Mutex implementation.

`Thread.list` reports itself as the current thread, and `Thread#new` explicitly disallows creation of threads.

`Thread` now supports the fiber- and thread-local variable storage interface

`Mutex` and `Queue` are implemented, and behave as expected, given the single-threaded environment.