Update to latest rebar 2.4.0
Merge pull request #32 from sideshowcoder/update-rebar

Update to latest rebar 2.4.0

Thanks!
Minimal .travis.yml

Closes: #35
Added set and create for design documents

Since most other drivers support it I would find it great to include the
handling for creating and removing design documents programatically.

The function names are inspired by other SDKs doing the same thing,
tests have been added in cberl but I would consider moveing them to a
view tests file since I expect there to be more view tests in the
future.
move design doc creation to view tests

create view tests file since there are more view tests to come and I
think it's good to encapsulate this since the design doc handling is
somewhat independent of the basic KV engine.

Closes: #34
Update AUTHORS, CHANGELOG to reflect PRs, bump year in LICENSE.
Change travis-ci button in the README.md to point to primary repo.
add query smoke test

Just to make sure a basic query works and returns a valid result
expose http status code

return the http status code alongside ok or error, since the exact
status can be important. For example flush needs to behave differently
depending on the status 200 or 201.
added flush and tests

add the ability to flush a couchbase bucket

The basic algorithm is:

1. create a document for reference
2. call flush
3.1 if status is 200 the flush was successful and is done
3.2 if status is 201 the flush was started but is not done yet
4. check for the reference document until it is gone to make sure flush
   has finished
added flush/1

uses the bucket the user connected to as the bucket to flush

Closes #36
Match errors in decode_query_resp/1
closes #37
added test for touch

issueing cberl:touch causes a segfault, running it with lldb I was able
to pinpoint the error to cb.c line 439, what jumps out to me is

```
enif_alloc_binary(cb.ret[i]->nkey, &key_binary);
memcpy(key_binary.data, cb.ret[i]->data, cb.ret[i]->size);
```

which uses nkey for alloc and size for memcpy, changing it did not fix
the error so.
Bump version to 1.0.0.

This has been working in enough production systems that I believe
it deserves a full version number.  We will likely follow SemVer
style for version numbers.
Merge branch 'master' of github.com:chitika/cberl