add plugin interface for collision detectors
Merge pull request #536 from mikeferguson/collision_plugin

add plugin interface for collision detectors