Use the photo ID as the title if the title is empty.

Use the photo ID as the title if the title is empty.  This resolves habari/habari#484 in the 0.9 branch.