Move C API tests out of root build dir into 'capitests' subdir.