added duration to the close match form and added a reset scores and duration method to matches#reopen
fixed a bug showing the matches and added a filter to order: first by opened/closed and then by date
Merge pull request #4 from xsimov/create-badges

wrong branch name, should be fixing matches instead