Do placeholder check before redirect_canonical

And don't use is_404() as the initial check, but rather check to see
if the request is for something inside the uploads directory.

Fixes #5