Collision_detection.js: jaws.collide fix and docs

Fix for jaws.collide. Will now correctly return results of object to
list, list to object, and list to list results.

Complete documentation of all functions in JSDocs format.