Fix: Ignore empty `photo` properties
Due to the way that www-editor sends the photo
property as an empty
string, and the previous parsing logic, this would provide the photo
property as an empty string, which then fails validation.
We instead do not want to populate the photo
property if it doesn't
exist.
Closes #302 (closed).
Plus some extra validation in PostTypeDiscoverer