Test

This pull request adds some basic tests that were really badly needed. 

It's quite difficult to get tests running with sails -- it obviously was not written with tests in mind.

I used this example repository as a starting point (github.com/bredikhin/sailsjs-mocha-testing-barrels-fixtures-example) and tried to import some team fixtures from @ivanseidel's demo.

Right now it does not actually test anything important but that will change in the future.

Also, please note that I moved the `calculateScoreTable` function into the model to keep it a bit more sane (so that there is no `this` out of context).