Some cleanup and fixes of integration tests

Next step : change most of the carstore actions to use rest-dispatch instead of rpc