make MicroActor safer

* initialization inside its thread
* clean shutdown
* terminate pooling server after all tests
Merge pull request #49 from pitr-ch/refactor

make MicroActor safer