Add error handling for duplicate domain name entries

Sends back a text response and a [422](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#422) status code if a duplicate domain name exists

@maetl