Added infrastructure for spectating and matches are now deleted from db upon leaving.