support empty names in auto slug generation

http://manage.dimagi.com/default.asp?141834