Fix Copy Exemplar Metadata

1) Localization text and ID were switched
2) Copying failed if image file was readonly
Avoid confusion by avoiding Try... method naming paradigm
Improve method naming and logic flow
Merge pull request #78 from andrew-polk/feature/fixCopyExemplarMetadata

Fix Copy Exemplar Metadata
Add comments to clarify purpose of BrowserAdapter classes

Change-Id: I295135124892df930a49c17eb8160810e71a6a4a
Merge pull request #79 from ermshiperete/ImproveComments

Add comments to clarify purpose of BrowserAdapter classes
Prevent crash for invalid LDML files

This fixes https://jira.sil.org/browse/WS-112 "Crash on Wesay
configuration Tool when importing .ldml file ...".
Save files based on file extension

In SW-34711 (11b8e94), the code to Save an image was change to make
a copy first before saving the Image.  At the same time, there was
word to ensure that files were stored in a web-friendly format
(jpg or png).  However, the extension of the output file was not
changed and the format silently changed. Also, the format of the
originally loaded image was used to determine the output file
format.  To make matters worse, WeSay would always change the
extension to png.  So the only files that would correctly get
imported were png files (even though the dialog allowed for
png, tif, bmp, and jpg).

This changes the PalasoImage.Save method to look at the extension
of the file name used to save the image to determine the format
that will be used.  A helper method is added to assist the caller
if they choose to use a web-friendly format extension (called by
WeSay).
Merge pull request #71 from sillsdev/Fix-WS-112

Prevent crash for invalid LDML files
Fix sorting of LiftRanges

To properly sort LiftRanges replace element entries with
<element name="text">blah blah</element> with correct entry
<text>blah blah</text>
Fix comment
Merge pull request #80 from sillsdev/FixPalasoImageAPI

Save files based on file extension
Fix sorting of LiftRanges

To properly sort LiftRanges replace element entries with
<element name="text">blah blah</element> with correct entry
<text>blah blah</text>.

Add BadTextElementsAreFixedBeforeSorting to UnitTests.
Merge pull request #81 from mccarthyrb/master

Fix sorting of LiftRanges