Some fixes

* Use os:timestamp/0 instead of erlang:now/0
* Use atom_to_binary/2
* Support proplist format
* Use meck for tests
* Update msgpack to 0.2.7