Feture/build fixup

regarding issue #10

First problem is with lack of local `rebar`, and to be exact, with fact that `hamcrest` will not compiled with newest `rebar` binary pulled from official repository.  On one hand, this seems not to be `wsecli` issue, but there is no way, that hamcrest could solve it by iteslf. They provide their own `rebar` binary, but still, theirs configuration is processed and executed by "our one". 
So only solution is to provide project with `rebar` version that will compile whole thing for sure. In my commit, I just copied the one from `hamcrest` repo.

Second problem missing record definition in `wsock` repo. Due to some newest changes `message` record was moved away from public interface (include file), and it causes compilation fail (sine this project uses this record). I'm sure this issue will be somehow addressed in `wsecli`, but until then we should pull older version on `wsock`.