Update collision_detection.js

Fix for jaws.collide and full documentation of all functions.

(@ippa: My fork is out of sync, so I used the editing feature on the GitHub website. That's why it says I replaced the whole file. It's only the change I mentioned to you earlier for jaws.collide and complete documentation.)