Some cleanup and fixes of integration tests

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