Handle nulls better in BuildVersion.   Currently catches exceptions
which weren't getting thrown in the getters...
Fix the unit test to also check the environment setters for null
PDI-8904 - String operations "trim" will erase fields with lazy conversion (Binary)

Unit test
PDI-8904 - String operations "trim" will erase fields with lazy conversion (Binary)