LANG-1050 Generic nullToEmpty method

A generic nullToEmpty method has been created. The idea was to use this as a base for all of the wrapper class methods; however this would break the contract they currently provide.