Fix for #1641 (docx table captions above tables)

Word doesn't really treat table captions as something special. It's just a paragraph with special style, nothing more, so simple reversal of output order in writer works fine.
Merge pull request #1794 from mpickering/docxfix

Fix for #1641 (docx table captions above tables)