update match.js to reflect server changes

transformMatches - using prototype inheritance which adds all necessary
members to match and team.