fix ifOnEdgeBounce logic for CAT-1060

change repositioning logic
adapt tests
differ between horizontal and vertical border
Merge pull request #1038 from Catrobat/physics_CAT-1060_IfOnEdgeBounce

fix ifOnEdgeBounce logic for CAT-1060
Complete CAT-1084 and fix CAT-1063
Add tests for cloning physics bricks
Fix copy process of "When collision between" - Brick