couchapp _attachments fix
fixes based on test installation