Issue #225, edit the like and vote relations

Votes and likes could now be created as follows:
User.first.votes.create(:user_id => 1) or
Idea.first.votes.create(:idea_id => 1).
The same has been done with likes.
Issue #225, edit vote relation
Issue #225, added join table for the committee-tag relation.

This is a HABTM relationship. Querying is as follows:
@tag.competitions # returns an array of participating competitions
@competition.tags # returns an array of tags in the competition
@tag.competitions << Competition.first # @tag is included in first competition
@competition.tags << Tag.first # First tag in included in @competition
Issue #225, add competition model with relations
Issue #225, add idea-competition relations
Issue #225, add tag-competition relation
Issue #225, add investor model and relations.
Issue #225, added join table competitions-ideas.

This is a HABTM relationship between competitions and ideas.
Issue #225, added columns to competition table

Start date and End date were added. Also a reference column
for the winning ideas was added.
Merge branch 'master' into db_relations

Conflicts:
	Idearator/app/models/like.rb
Issue #225, add timestamps for votes join table.
Issue #225, override foreign key idea_id in competition with winner
Merge pull request #237 from DevYah/db_relations

Model and relations for Competitions
Move bootstrap after jquery include.
Merge pull request #238 from DevYah/C1_mnzaki_javascript_fixup

Move bootstrap after jquery include.
Fix shebang for the pre-commit hooks.
Merge branch 'master' into C1_mnzaki_commit_hooks
Merge pull request #239 from DevYah/C1_mnzaki_commit_hooks

Fix pre-commits for ubuntu users...
Merge branch 'master' into C3_Marwa_39_SubmitEditIdea
Issue #39,Add partial stream