Narrowphase lookup table

Lookup collision resolution methods based on the shape type bits.
Cache the function, not the key
Merge branch 'feature/narrowphase-lookups' of https://github.com/timrwood/p2.js into timrwood-feature/narrowphase-lookups