Added compatibility with new ContentHandler approach in MW 1.21

Includes a new utility method, SFUtils::getPageText()

Change-Id: I1e8c1163ff3d5b32e15fc4288fd3be89df19c7a0