Iceland is to ban registrations of fossil fuel cars by 2030 as part of plans to meet the country's Paris Agreement targets and become carbon neutral by 2040.