Merge pull request #63 from guillermo-carrasco/master

Fix compilation error in clang
Merge
Fixing database output. @guillermo-carrasco, do you recall why the send_couchdb method did not send data to the server?
Merge pull request #67 from brainstorm/master

Global var substitution is evil, send_couchdb apparently broken
add license and citation

@arvestad @brainstorm @guillermo-carrasco
what do you think