Center view to mouse, use xray & lock onto nearest component

Center view to mouse (view3d.view_center_pick) would like if it took advantage of xray mode and had optional lock-on to nearest component, similar to how the default selection radius works, which I don’t use but would be handy in this context.