Skip/limit/order/etc. on a sequence of joined documents

Replace _order with _apply. The _apply method will be applied
on the stream of joined documents.
Fix # 80
Fix leaks + add check-leaks in test
Bump to 1.13.3