created two contest summary functions one for ballot line results and one for contest results because both of the self paths are diffrent.
added two functions in results so they can both have diffrent self paths to electoral districts. Also added more functional tests for the contest result page testing the self path links