improve error/service-not-running behaviour
fix #4; add fixed readline.js
add minimal test support
add lib.d.ts; to avoid incomplete setups
avoid path dependence in test output
clarify README/JSON;remove dependency