An Analytical Toolkit for Support to Contract Farming