Implemented the 'relationships' feature.
Added comment to photo.js about how to use relationship feature.