Use a global sequence for attachment ordering

This should fix an intermittent test failure when HTML and File
attachments are built in the same test without being given an explicit
ordering.
Merge pull request #1091 from alphagov/attachment-factory-ordering-sequence

Use a global sequence for attachment ordering