[#119]add relation between contest and competition

added relations:
Competition belongs to contest
Contest has many competitions