Two thirds of outsourced projects are late, over budget, incomplete or malfunctioning. Here's how to hire an outsourced programmer without getting burned.