Add more error checking, and more descriptive reasons for failure
Merge pull request #1230 from github/meme_generator_errors

[meme_generator] Better error handling