Api

first draft of PUT requests for tournaments/players
can you add tests for each error checking branch in the PUT for tournaments? each in a separate (i.e. one for a non-string player, one for a non-dict list of matches). should be pretty small

i generally try to write a single test for every branch possible in the code