Get default number of threads automatically

... with std::thread::hardware_concurrency()
Fix wrong use of "using"
Default number of threads is not 1 anymore ...
RendererBase: use int instead of id_t
Add header file for selecting the default thread policy

... depeding on the OS.
MEX: select thread policy based on OS