add support for limit() and skip()

see #171