Essays on the applications of matching theory to political economy