Medicos Consultants, LLC Duck Duck Go "pill" Spice Plugin

# Spice Pull Request Template

Using this template will help us better understand your Instant Answer and assist you when necessary.  Simply copy and paste the markdown below into the description of your GitHub pull request and complete as appropriate.

**What does your instant answer do?**

Queries C3PI RxImageAccess RESTful Web API (http://rximage.nlm.nih.gov/) and returns matching images and metadata for prescription oral solid dosage formulations. 

**What problem does your instant answer solve (Why is it better than organic links)?**

It provides up prescription oral solid dosage formulations 

**What is the data source for your instant answer? (Provide a link if possible)**

http://rximage.nlm.nih.gov/

**Why did you choose this data source?**

It's the official government source (NLM \ OHPCC)

**Are there any other alternative (better) data sources?**

No

**What are some example queries that trigger this instant answer?**

pill red round
pill green
pill 68180-0481-01

**Which communities will this instant answer be especially useful for? (gamers, book lovers, etc)**

Anyone taking prescription drugs, researchers, physicians, clinical staff

**Is this instant answer connected to a DuckDuckHack [instant answer idea](https://duck.co/ideas)?**

No

**Which existing instant answers will this one supersede/overlap with?**

None to my knowledge.

**Are you having any problems? Do you need our help with anything?**

There's a design issue we noticed while testing with duckpan. When multiple results are returned there's overzealous spacing between <div>s. Single results work and look fine.

**\*\*Note:** Please attach a screenshot for new instant answer pull requests, and for pull requests which modify the look/design of existing instant answers.

## Checklist
Please place an 'X' where appropriate.

```
[X] Added metadata and attribution information
[X] Wrote test file and added to t/ directory
[X] Verified that instant answer adheres to design guidelines (https://duck.co/duckduckhack/design_styleguide)
[X] Verified that instant answer adheres to code styleguide (https://duck.co/duckduckhack/code_styleguide)
[X] Tested cross-browser compatibility

    Please let us know which browsers/devices you've tested on:
    - Windows 8
        [] Google Chrome   
        [] Firefox         
        [] Opera           
        [] IE 10           

    - Windows 7
        [] Google Chrome   
        [] Firefox         
        [] Opera           
        [] IE 8            
        [] IE 9            
        [] IE 10           

    - Windows XP
        [] IE 7            
        [] IE 8            

    - Mac OSX
        [X] Google Chrome   
        [X] Firefox         
        [] Opera           
        [X] Safari          

    - iOS (iPhone)
        [] Safari Mobile   
        [] Google Chrome   
        [] Opera           

    - iOS (iPad)
        [] Safari Mobile   
        [] Google Chrome   
        [] Opera            

    - Android
        [] Firefox         
        [] Native Browser  
        [] Google Chrome   
        [] Opera
```
@medicosconsultants I would be even more explicit about the error conditions here. For example, `api_result` might be defined, but `api_result.replyStatus` might not be defined. This is generally a verbose check:

```
if (!api_result || api_result.error || !api_result.replyStatus || !api_result.replyStatus.totalImageCount || api_result.replyStatus.totalImageCount < 1) {
  return Spice.failed('duck_duck_pill');
}
```