Collision listener and collision filtering

Collision filtering is done with the maskbits and categorybits.