Add whitespace check

http://manage.dimagi.com/default.asp?129465#729043

Check for pure whitespace