spec/services/ng-connect: Simplify boilerplate.
karma: Allow mocks to use functions/globals defined in directives, services, etc.
ranking: Fix sorting.
stages: New stages service.
ng-scores: Refactor scoreboard handling to scores service, create generic scores mock.