Add state-machine.js
Implement a Call model

A Call model is a basic wrapper above a state machine.
Merge pull request #54 from tOkeshu/refacto-calls

Refacto calls