Fix modes on ceph-rest-api, add start of test script

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