make badge, issuer, program undoably deletable.
Add search function factory to lib/util.js
Added Issuer#markAsDeleted() and Program#markAsDeleted().

Both of these cascade. No reason to really add a Badge.markAsDeleted()
since it just means setting the deleted property on it.
Add missing semicolon
allow legacy documents to work w/ the new deletable models.
Make /v2/badges and /v2/programs searchable.
Variable consistency
Store props to match in variable, readability++
Merge pull request #240 from mozilla/236-search-api

Add search for badges, programs to the API
Fix version in package.json
v2.0.8: the greatest version ever
Add program formatter to logger.
Better logging when about to crash.
Fix `programs` api endpoint.

We need to filter out orphaned programs early so they don't make it to
the normalization point.
Fix issuer image access.
Merge pull request #242 from mozilla/241-fix-unpopulated-programs-error

Fix unpopulated programs error
Merge pull request #244 from mozilla/243-fix-issuer-image-access

Fix issuer image access.
make deletion actually undoable.
v2.0.9: EVEN BETTER
allow badges to be undoably deleted, and add lame undo UI.