New utility method for detecting is a string is only spaces
Added unit tests for isOnlySpaces and emptyOrNull in StringUtils