Added constrains to media file and in the media product bridge

This way adding the same file reuses the row in Media
Merge pull request #61 from melmothx/topic/media-unique

Added constraints to media file column and in the media product bridge.