Added unit test.
Merge branch 'multithreading' of https://github.com/rarosu/GEA2 into multithreading
Adds some C++11 magic to insertion/tracking of tasks.