lag and lead window functions

As described at Issue #989, lag and lead window functions would be most wanted window functions.