make the eunit works

1.update the rebar version
2.the test use eunit

run
```
$ ./rebar eunit
```
can start unit test