Add Seq.scanLeft/scanRight

from Scala collection library.