Added a try except to handle unicode in domain lookup. Solves FB:120611

Warns the user of an invalid domain name if unicode is passed into form instead of returning a 500 error.
Solves http://manage.dimagi.com/default.asp?120611
Great! thanks for the quick follow-up