delay: renamed sleep

I forgot which name to use
index.js: change how hw module is selected to using os module
Attempt to eliminate synchronous logic

Difficulting in handling issues like
https://github.com/jadonk/bonescript/issues/74 have me removing all of
the synchronous logic and adding node-fibers to support synchronous
calls.

Commit d675494a4581f9223f5ac501839f37762c744080 started the work and
this is the first attempt at debugging, but much more clean-up is
required.

A bit more background is given here:
https://github.com/jadonk/bonescript/issues/75
Update some tests to try to find errors in the new asynchronous logic
Merge branch 'master' of github.com:jadonk/bonescript