Added the possibility to override the number of workers. As default
we will use the number of CPU cores. To allow for single threaded
applications for example, init_workers(1); can be used before getting
the dispatcher instance.

This commit also fixes a bug in the event dispatching mechanism that
prevented all workers from being used.
Version bump to 1.2