GenericAgent: Add time management

Adding of current time and last update value.
Adding of generic model based ball and wall

We modified example 2 to use the new class 'GenericAgent'.
GenericAgent: more debug output

More information has been addded in debug output.