add tiny server for running tests locally

This avoids the security restrictions on web workers over file://.
provide current cursor to step callback
use parser to find last row end in chunks
allow aborting workers
refactor common functionality of chunk streaming classes