Installation issues with PCS Extension

Details

Description

The PCS extension was added recently to address some function dereferencing issues that cause a small amount of latency which shows slower throughput under a tight loop. This addressed the issue there, however it has left problems with upgrades and getting this dependency installed that we didn't anticipate.

Given the difficulty we've had since we added the PCS extension as a dependency, we should remove it and do all of the rote work of converting PHP functions to C. This will have the same effect for the function lookup latency, but unfortunately is a lot of work and moves more of the extension into C.