CMA port to OCS

Well, I'm afraid this still needs (what I hope is) a little work; I'm getting HTTP 500 errors with no logs on trying to configure a sched conf, and I'm out of time to figure out precisely what's going wrong.

That said, I think it's about 90% of the way there -- I'm afraid I might've added a bit more cruft than necessary with some of the submodule commits, but all of the grids and references to them have been ported and changed to reflect some OCS-specific oddities, with the exception of the non-en-us locale keys which I'd been holding off on until this actually worked.

While I certainly don't want to create another project for anyone, particularly seeing as this isn't an extraordinarily fun one, please do go ahead and review the changes and see what you think.

Note that this incorporates the known-good-config setup from my recent OJS patch.