Added JSDocs to the lazylist extension

This is largely a copy-paste-modify from core. I'm not too sure about the @sig stuff as I've not learned me a haskell.