Set right-to-left for attachment edit view

This sets the CSS direction of the title and body fields based on the
attachment's locale

As part of this, I've restructured the `AdminAttachmentsForm` JS module
to follow the same pattern as `adminEditionsForm`.