Support Jenkins core 1.466

By switching target Jenkins core to 1.466, more plugins can support script-security without changing their target Jenkins versions.

On the other hands, I know this requires workarounds for script-security (permissions to the management link and tests).
So feel free to reject this request.
The significant problem with 1.466: `ManagementLink#getRequiredPermission` is since Jenkins 1.489.