gameends event was not raised on every game end
gameends event was not raised on every game end

Only a timeup triggered the gameends event. Now it is also raised
whenever a game ends due to any reason e.g. a normal draw or win.

imor/uci,9o/uci,NachoSoto/uci