remove unused attachment_src flag in attachment view

mutually dependent on (and most of the changes in) https://github.com/dimagi/casexml/pull/204