Replace \f with &#xc; in OCR output

Form Feed character causes XML validation errors.
changed str_replace to preg_replace
Merge pull request #617 from sheepeeh/master

Replace invalid characters in omeka-xml output.