New generic abstract connection game class.

Tested with ConnectFour.
Changed default horizon to 4.
Simulation agent and optimization.

Simulations avoid reevaluating final game states.
Simulation may be conducted by an agent. If not given is fully random as
before.
Avoiding using Future as much as possible.

Which result in better times in bulk simulations.
New build.