Combine Search and extract v2

Copy of #225.

@davidmiller says:
> Combines the two features, making them consistent with one another.
> Establishes a convention of warning as a primary button, info as a secondary button.
> Starts to use warning panel headers.
> 
> Uses discharge/admission in results
> 
> refs openhealthcare/elcid#340
> refs openhealthcare/elcid#326
> refs openhealthcare/elcid#319
> refs openhealthcare/elcid#323