Councillors have granted Lidl permission to invest £10 million building a second Perth store and create up to 40 jobs.