[CHEF-4298] send the version constraint correctly formatted for chef server
[CHEF-4298] some tests fixed
[CHEF-4298] tests improved to test version transformation on dependencies