Implement collision test for unions
Move code concerning position to own module
Fix bug with collision detection

There was a bug with Objects.Space.distFromSection procedure.  It
calculated the wrong distance in most cases.  This caused the collsion
detection for rectangles to fail.  This is now fixed.