Minor bugfixes, including #339
Added copyright infringement flags for photos.

Adding this flag changes the URLs for the photo so the content won't
display. It does not delete the photo, and the photo can be restored
by resolving or deleting the flag.