Adds error handler for missing thumbnails.

Adds a helper to the main Sinatra module to move the thumbnail url
retrieval out of the view. Anticipates nil values and falls back to
a "no thumbnail" thumbnail placeholder image.