First commit. Basic API data is being written to the answer bar.
Trigger when query contains only a URL.
Rough working version. Includes complex triggers and selective showing of whois info.

More detail on the commit:

- This spice is now triggered by either a) naked domains (i.e. query containing only a domain), or b) queries that contain a domain as well as certain keywords at the beginning or end of the string.

- The handle() function now correctly parses the domain, even if other keywords are in the query.

- The API username and password are now handled by environment vars, rather than hard-coded.

- If a domain is available, this fact is always shown to the user.

- If a domain is not available, whois info for that domain is shown only when whois-related keywords are present. Whois info is NOT shows for naked domains, because a user who types 'google.com' probably doesn't want to see whois info (but may want to see a message when that domain happens to be available).

- More whois information is now shown. This required unnesting some fields within the API output and doing some basic formatting on date strings.

- Encapsulated more code into function.
Added tests.
Added regex for TLDs from main DDG codebase.
Lowercased domains + added tests. Also added tests for whois keywords being case-sensitive.
Triggering tweaks in progress (not finished, and not all tests passing).
Now using the 'record' template.
Use Domainr for more info link.
Removed register language from the domain available template and removed custom whois template, now that we're using the record template.
Fixed triggering so all tests pass. Includes subdomain parsing in regex.
Add links to Domainr, Namecheap and 101Domains when a domain is availalbe.
Updated to use WhoAPI. Their API output doesn't include the domain, so need to parse the URL from the query in JS or get the spice API to pass it thru.
Switched api back to whoisxmlapi.com (ddg already has an api key for them). Updated API handling and output templates.
Improved comments.
Renamed varaible api_result to api_output.
More comments.
Turn off debugging output.
Merge branch 'domains-using-whoapi' into domains
Merge branch 'domains-using-whoisxmlapi-again' into domains