Initialised 'open' attribute on creation of competitions
Fixed error when no winner exists

This error occurred when the competition was closed but no entries were
submitted, therefore calling ‘winner’ on the competition returned a nil
object.