Ball: Minor changes

Rename 'mmDirectionChanged' to 'mDirectionChanged', and mDirection type has been
changed to vector type.
Finalization of ball collision computations

Balls can now collide in all cases. We have changed ball_wall2 example to test
these collisions.