Allow arbitrary query types by adding it to the URL requested

E.g. http://localhost:8080/MX/google.com will return the MX record. If no record type is given, defaults to requesting A record (e.g. http://localhost:8080/google.com).