Implement setdispatcher/takedispatcher on JVM.
Add nqp::settypecheckmode for JVM.

Also, start to flesh out istype a little more, though it needs more
work to finish it.