validate case index domains

http://manage.dimagi.com/default.asp?120127

@dannyroberts 
How did you test it? That must mean that there are multiple paths to
creating a case.