Implement sequence lazy manipulation utils.
Merge pull request #1314 from Gozala/bug/sequence@854982

Bug 854982  - Implement lazy sequence manipulation library. r=@erikvold