Prime Minister pledges to stand with homosexuals ‘until the full range of gay rights are achieved’