Added c_calloc and c_realloc and updated docs accordingly.

Discussion: https://groups.google.com/forum/#!topic/julia-dev/R6Iq42GmZ4w