Move AppHost JNI types out of AppHost for consistency with other JNI interfaces.