[#58] MultithreadHandler

* Implemented in a different way than initial spec
* Introduced singlethread_handler_factory becuase different
  handler require different list of arguments and some don't
  need 'app' parameter at all