Added MiscHelper. Contains method safeTrim() to trim Strings and prevent
null values.