fixed Jedi cache directory bug related with #10. Refactor of jsonclient
and server to make connections persistent