Made private wikis use thumb_handler.php for thumbnails

* This manages proper 404 handling

Change-Id: I74db95ef27affd31a9d153b242edbc0918b26c54