Rest

Cleaned the code in haas_rest.py.
The cli should call the rest api via requests. 
command "node create <node_id>" is working.