Break executing of state handlers and return "true" from request handler if some state handler returns "true".
Add common handlers for JsonRPC, which will be called on each request. Fixes #4.