Add param for attachment to url

Required for https://github.com/dimagi/commcare-hq/pull/473