Refactored TouhouSpring.Simulation namespace classes:
* Added IContext and ISandbox interface;
* Renamed Context to BenchmarkSandbox;
* Implemented TplSandbox which is a simulation sandbox running in parallel using .NET TPL.
Added SmartThreadPool external library from CodeProject, under Ms-PL license;
Modified CallerThreadContext to eliminate the use to HttpContext;
Removed the reference to System.Web.dll from SmartThreadPool project;
Corrected the implementation of copying of TouhouSpring.Random object.
Extracted TPL-neutral code from TplSandbox to ParallelSandbox and declared two abstract methods to be overridden in subclasses of ParallelSandbox for different approaches to parallelism.
Improved SmartThreadPool: added thread affinity setting on Windows desktop platform;
Implemented StpSandbox which is a ParallelSandbox using SmartThreadPool as its underlay;
Set the thread affinity of all AI simulation threads to 0xfe and the rest of system threads to 1 (but still not smooth...).