Write CLI scripts in Elm (IO Monad)

Hey @albertdahlin,

I have finally get to try your elm-posix out. I have tried the HelloUser example got two problems. First problem was when I have tried to run it I have got:

You found a bug!
Please report at https://github.com:albertdahlin/elm-posix/issues

Copy the information below into the issue:

IO Function "sleep" not implemented.

and second one was when I have tried to make and run the compiled version which gave me:

test.js:3518
    fn.apply(app.ports.recv, msg.args);
       ^

TypeError: Cannot read property 'apply' of undefined
    at Array.<anonymous> (/Users/tomas.latall/test.js:3518:8)
    at Function.f (/Users/tomas.latall/test.js:2228:19)
    at A3 (/Users/tomas.latall/test.js:68:28)
    at Object.b (/Users/tomas.latall/test.js:1987:7)

any hints what I might have missed?