Edinburgh Tram Inquiry recommends changes to governance and new legislation to protect the public purse