First pass at nqp::istype.
Start pulling in some of the multi-dispatch code.

This isn't the dispatcher itself, just the candidate sorting code. Need
to implement some of the extra ops before multi-dispatch will actually
work.