add json interface, e2e tests, examples
doc.md example actually works
worker -> func_name
minor doc fixes
Simplify Makefile and remove unneeded log examples
Rename e2e test file
Add e2e delay tests
Merge branch 'jlep'
remove posix-getopt
fix callback not called bug after saveTask in mem.js
fix mem-test regarding saveTask
Merge branch 'mem'