Retry ShareData parsing with 1.0 encoding (See #11322)

If the first attempt to parse ShareData from the database
fails (i.e. produces null), then a second attempt is made
with an Ice.Communicator instance initialized with 1.0 as
the Ice.Default.EncodingVersion value.

Note: `Ice.EncodingVersion` is not being used because it was
first introduced in 3.5 meaning that this code would not be
compilable with the other zeroc jars.
Fix NPE on bad parsing in main
Catch MarshalExceptions and return null
Move to strict version 1.0 encoding (Fix #11322)
Refactor stream creation into safe helper (Fix #11322)
Change exit code to 100
Merge pull request #1479 from joshmoore/11322-ice35-bytes

Enforce 1.0 encoding for scripts/shares (See #11322)