[#119]add relation between contest and competition

[#119]migration, add contest_id to competitions table

[#119]modified schema.rb