The UK has outlined categories of foreigners who may qualify for permanent residence after three years under its new settlement rules. Find out who is eligible.