librados: use memcpy rather than strncpy for possibly-NUL data

Signed-off-by: Dan Mick <dan.mick@inktank.com>
rados.py: use librados-allocating versions of *_command

Signed-off-by: Dan Mick <dan.mick@inktank.com>