Merge pull request #41 from bclary/master

Correctly test for empty labels in dns_form_utils.js.
Don't prune the domain tree because we are just going to recreate the
sreg.

See bug 1042120
Be more user friendly in the UI after record creation/update