Add task api
Merge branch 'api' of github.com:jaaaaared/battlehack-web into api
APi changes