Rake task to complete finished matches

Closes #230.