Added multi-tasker for multithreaded task handling

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>
Merge pull request #489 from bergerkiller/master

Added multitasker class to handle multithreaded processing of tasks