Detail view, and has_entered and has_won methods on Lottery