Adding support to ahndle non-default orientations.

Fixed a bug in the reading and writing of some of the Analyze files in
non-default orientations.

Change-Id: If783cfb9c4f07f8e1c44a0a725055f3f223e2587
Fixing tests and layout issues in the WriterDialog.

Change-Id: I2e9e1c589fd09ab052e6aa593e319149a8a605ae
Merge topic '13984_64bit_headers_for_xml_writers' into next

2ad565f Fixing tests and layout issues in the WriterDialog.
a6adc5e Adding support to ahndle non-default orientations.