tests/api_backend.cc: New testcase readonlyparentdir1 to ensure that
commit works with a read-only parent directory.

git-svn-id: file:///home/xapian-svn/xapian/trunk@18225 6b2f1b92-a4f3-0310-943f-de3cbe41748b