Alert user to scoring competitions

Added an alert to the user's page if there is a scoring
competition which requires the user to submit scores.
Merge branch 'scoring-notification' into develop
Refactor competition.py