(Reuters) - U.S. ride-hailing firm Lyft has secured a permit to test autonomous vehicles in California, taking it one step further in the race with several other companies to bring self-driving cars to the masses.