added first version of a http based jsonrpc api to the directory server + added a jsonrcp_serv.erl whch can be used as a generic pattern if a jsonrpc server is needed. This will be used by node_serv.erl to publish an api towards overseer.erl