wikimedia/restbase — pull request #42 by earldouglas (2014-11-26 00:31:08+00:00)
Title: Extract external Parsoid calling into a service wrapper

Looking for feedback on this refactor. This lets the pagecontent handler treat Parsoid as a regular handler, without knowing directly how to access it externally. External Parsoid access happens through a "service handler", which in the future we could configure without changing the pagecontent handler.