A step-by-step guide to hiring offshore software developers, from choosing the right region to structuring contracts and managing distributed teams.