Added a method File::replace() to the File Utilities

This method allows you to search the current file for a specific
string, and replace it with a given argument.
File::replace()

Removed the HTML link
Changed the temporary file generation to use tempnam()
Updated the test case to use assertContains()
Merged changes from upstream/master