Photo DB: Move PhotoData from PhotoManager.
Photo DB: Return PhotoData instead of single field

Return PhotoData for getRandomPhoto instead of just a path. This also
makes the getRating function useless, since it is returned as part of
PhotoData.