fix display of empty names in the case list

http://manage.dimagi.com/default.asp?105073
better support for empty strings in case property display
Merge pull request #3080 from dimagi/cz

fix display of empty names in the case list