Biderivations and linear commuting mappings of N-graded Lie algebras of maximal class