Change admin_dependencies_chk to use the OCP functions instead of the co...

...re ones

Used the script https://gist.github.com/bartv2/6038598 to do the conversion

@eMerzh @schiesbn @Raydiation @Kondou-ger