Merge pull request #2 from cloudspokes/master

latest
speed up contests sql queries
fix tests for Contests and Tops
Merge branch 'master' of github.com:cloudspokes/tc-api into cloudspokes-master

Conflicts:
	actions/contests.js
	test/accuracy/test.contests.js
Merge pull request #17 from lsentkiewicz/master

speed up contests sql queries