bug fixe (metadata)

Signed-off-by: yvondamours <yvon@storm.io>
Merge pull request #11 from yvondamours/master

Fixed bugs with batch handling
Fixed a bug in cqerl_client
Adjusted tests to allow better load tests
Update README.md
Try to fix test failure on Erlang R16B01

Since `application:ensure_all_started` doesn't work on that version of Erlang, all dependencies are
started manually when initializing the tests. It seems to fail on R16B01, and it may be because of
the public_key application requiring asn1

/cc #13
stest.erl

Synchronous request test for cqerl. 
Run with stest:start(Amount, Delaytime) to initiate request.

This is for trying to solve the TCP fragmentation error seen if using
Amount = 1000000, Delaytime = 0.01
Delete stest.erl
synctest.erl

synctest:start(1000000,0.1)

If run with delaytime 0.01 if will produce 
{error,
           {function_clause,
               [{cqerl_protocol,decode_response_term,
                    [{cqerl_frame,false,undefined,false,8,43},<<129,0,94,8>>],
                    [{file,"src/cqerl_protocol.erl"},{line,486}]},
                {cqerl_protocol,response_frame,2,
                    [{file,"src/cqerl_protocol.erl"},{line,469}]},
                {cqerl_client,handle_info,3,
                    [{file,"src/cqerl_client.erl"},{line,393}]},
                {gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,494}]},
                {proc_lib,init_p_do_apply,3,
                    [{file,"proc_lib.erl"},{line,227}]}]}}
Fix #12

Also added a test case made out of 1312c798b755675d7b0a7039ddc76ec2a49bd283 from @bitchslap
Delete synctest.erl
Bumped version to 0.7.1
Merge branch 'master' of github.com:matehat/cqerl
Fixed an issue when encoding a null short bytes
Merge branch 'master' of github.com:matehat/cqerl
Merge branch 'master' of https://github.com/matehat/cqerl
Made cqerl_batch use proc_lib/sys

so it is debuggable and produces crash reports when things go wrong
Made cqerl:new_client more flexible on its first argument

Now it can handle single IP address (list or tuple), without being in a {IP, Port} tuple. It will default to the default port for cassandra's native protocol
Added a named connections

Now, by providing a `name` option in either `new_client`, `prepare_client` or in environment variables, you'll be able to simply do `cqerl:new_client(Name)` to get a client
Fixed a bug in cqerl_client