Add InsertAndGetLastInsertId and DRY-up GetLastInsertId provider impls